This content has been marked as final.
Show 2 replies
-
1. Re: LoginModules thread safe?
spiritualmechanic Apr 23, 2004 11:55 AM (in response to wcrosman)The LoginModule RoleSets correspond to one user. So there's not a race condition.
I'm currently using Novell LDAP libs with a custom LoginModule, that extends the LdapLoginModule.
Let me know if you have any issues. Our LDAP schema is custom, so it may not be exactly what you use, but the technical issues should be pretty similar. -
2. Re: LoginModules thread safe?
starksm64 Apr 25, 2004 10:04 AM (in response to wcrosman)A new LoginModule is created for each login when authentication is required. The roles for the user are obtained from the resulting subject outside of the authentication call and does not use the getRoleSets as this was used to populate the Subject. Read the JAAS howto for more info on how the login modules are used.