This content has been marked as final.
Show 1 reply
-
1. Re: When does the Container call LoginModule?
luke_t Mar 27, 2002 3:30 PM (in response to rlentell)> When does the container call the server side LoginModule?
The simple answer :) is that it is called when the security interceptor checks the validity of the supplied credentials in the method invocation. It calls
isValid() on the security manager (JAASSecurityManager)
which creates a login context and calls login on it.
Thereafter it's up to JAAS to invoke your configured login modules. So if you have done a client login using the ClientLoginModule this will change the principal as you say. If there is no cached information for this principal then you should see another call on your login module.
Luke.