I'm creating a login module that validate against  NOVELL LDAP.

In order to validate I need to create a connection to the LDAP Server.
For performance reasons (new connection overhead is high) I'd like to
get the user's role/groups when they pass authentication.

Since the call to getRoleSets() happens a some point in time after validatePassword()  
I'm wondering if the cached role sets could be over written (a race condition).

Or, is a new LoginModule instance created for each user login.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832163#3832163

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832163


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to