-
1. Re: SRP: Multiple clients
starksm64 Dec 13, 2004 11:40 AM (in response to stanley.beamish)
There are more information that might be important to find out what is the problem.
On the server side i have the following configuration:
<application-policy name = "CustomFwRealm">
<login-module code= "org.jboss.security.srp.jaas.SRPCacheLoginModule"
flag = "required">
<module-option name = "cacheJndiName">srp-fw/AuthenticationCache
</module-option>
</login-module>
<login-module code = "com.security.jaas.FwServerLoginModule"
flag = "required">
<module-option name = "password-stacking">useFirstPass</module-option>
</login-module>
</application-policy>
The FwServerLoginModule is a login module that creates a principal and gets the user roles.
The strange part is that after the the Client application 2 did the login and the Client application 1 calls the method, the login method of this module is called again.
Althought the login returns true i've got the exception
2004-12-07 12:23:15,690 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] Authentication exception, principal=nmeira
and commit is never called...