[jboss-user] [Security & JAAS/JBoss] - Re: j_security_check not working in LDAP based Authenticatio

jbosexplorer do-not-reply at jboss.com
Sun Dec 16 07:55:59 EST 2007


Solved the problem. I've added the following in login-config.xml
			 <module-option name="uidAttributeID">uniquemember</module-option>
  | 			<module-option name="searchScope">SUBTREE_SCOPE</module-option>
  |                 <module-option name="rolesCtxDN">ou=Groups,dc=company,dc=co,dc=uk</module-option>
  |                 <module-option name="matchOnUserDN">true</module-option>
  |                 <module-option name="roleAttributeID">cn</module-option>
  |                 <module-option name="roleAttributeIsDN">false</module-option>
  | 

And, changed the following role-name in web.xml to the 'actual' role name as in LDAP. JBoss is not mapping the roles names described in jboss-web.xml

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

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



More information about the jboss-user mailing list