I had posted Apply securing web applications with JAAS and LDAP and
now I need to use Windows Active Directory. How to do it? here is my tips.

1. Download this utility to explore Windows AD
Tool: Active Directory Explorer. Using this
tool you can find the structure and find the proper tree search path.

2. Bind the user name/password
Read this articale from JBoss. You can find the setup example.

3. Filter baseCtxDN (node)

4. Filter rolesCtxDN (group)

Reference:
Using Ldp.exe to Find Data in the Active Directory

LDAP browser: JXplorer

Advertisements