This content has been marked as final.
Show 1 reply
-
1. Re: LDAP/JBOSS/JAAS
awclemen Jun 21, 2006 11:17 AM (in response to carlosgyn)I'm no expert, but I throw a couple of ideas your way since no one has repsonded yet.
Usually one needs some module-options with the LDAP login-module (url, principalDNPrefix, etc.), but I don't see any of that in your login-config.xml file. I'm not familiar with the siwcc.util.MyLdapLoginModule but it seems you are missing some attributes. Also, is there a reason you are using your own LDAP login module instead of the org.jboss.security.auth.spi.LdapLoginModule one?
Are you getting any errors in the logs? Try adding the following to the log4j.xml file and see what is coming up in your server.log file<category name="org.jboss.security"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> <category name="org.jboss.web.tomcat.security"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> <category name="org.apache.catalina"> <priority value="DEBUG"/> </category>
This can also be found on point 4 of the security FAQ at the beginning of the forum.
Let me know what you come up with.
--Andy