[jboss-user] [JBoss Portal] - How to get Ldap informations?

kmekme do-not-reply at jboss.com
Tue May 20 08:17:03 EDT 2008


Hi everyone,

I've configured JBoss portal to authenticate with Active Directory like this :


  | <login-module code="org.jboss.portal.identity.auth.SynchronizingLDAPExtLoginModule" flag="required">
  |             <module-option name="synchronizeIdentity">true</module-option>
  |             <module-option name="synchronizeRoles">true</module-option>
  | 
  |             <module-option name="additionalRole">Authenticated</module-option>
  |             <module-option name="defaultAssignedRole">Medecin</module-option>
  | 
  |             <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
  |             <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
  |             <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
  |             <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
  |             <module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
  | 
  |             <module-option name="java.naming.provider.url">ldap://myldap:389</module-option>
  |             <module-option name="bindDN">CN=Manager</module-option>
  |             <module-option name="bindCredential">secret</module-option>
  | 
  |             <module-option name="baseCtxDN">OU=people,dc=mck,dc=com</module-option>
  |             <module-option name="baseFilter">(sAMAccountName={0})</module-option>
  |             <module-option name="rolesCtxDN">OU=people,dc=mck,dc=com</module-option>
  |             <module-option name="roleFilter">(member={1})</module-option>
  |             <module-option name="roleAttributeID">cn</module-option>
  |             <module-option name="roleRecursion">-1</module-option>
  |             <module-option name="searchTimeLimit">10000</module-option>
  |             <module-option name="searchScope">SUBTREE_SCOPE</module-option>
  |             <module-option name="allowEmptyPasswords">false</module-option>
  | </login-module>
  | 

I need to retrieve informations from my Ldap server (cn, adress, role, ...) but I don't know how.

Any ideas?
Thanks in advance.




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

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



More information about the jboss-user mailing list