I need a good tutorial on LDAP and JAAS. Can someone help me. Also nething(example, sample code) on how to integrate/use JAAS and LDAP together. I need to use JAAS with LDAP to get the roles, groups, users, privilages etc..from the Directory server on the basis of userid.
Joined: Aug 30, 2002
Are you using an application server ? App servers like WebLogic have authentication modules which plug into common LDAP directory servers. The authentication modules are JAAS modules.
If not, you can use JNDI or the Mozilla LDAP SDK (http://www.mozilla.org/directory/) to connect to the directory server. You would establish this connection in your JAAS login module implementation.