Hi,
I am having a really difficult time getting SRP/JAAS set up on JBoss 2.4.3. For the life of me, I cannot figure out why I get the following error when I start up the server and it attempts to set up the SRP-related MBeans:
javax.naming.NameNotFoundException: srp not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
I have been setting things up as recommended by pp.286-287 of the JBoss Manual. To be more specific:
-= In jboss.jcml =-
srp/AuthVerifierStore
srp/SRPServerInterface
srp/AuthVerifierStore
srp/AuthenticationCache
10
5
12345
-= In auth.conf =-
srp {
org.jboss.security.auth.spi.ProxyLoginModule required
moduleName=org.jboss.security.srp.jaas.SRPCacheLoginModule
cacheJndiName="srp/AuthenticationCache"
;
org.jboss.security.auth.spi.UsersRolesLoginModule required
password-stacking=useFirstPass
;
};
-= And in my application's jboss.xml =-
<security-domain>java:/jaas/srp</security-domain>
Does anyone have any guesses as to why it won't bind "srp"? I've tried using getting answers from the volunteer docs, the JBoss Manual, Google searches, searches of this forum, and I can't get anywhere. Any help would be greatly appreciated!
Thanks,
Buzz Andersen