Will someone please provide configuration files used to setup LDAP under JBOSS 3.0.0 for user authentication into a web-app realm??? I have read through a lot of documentation and I am still not sure about how to authenticate against an LDAP directory server. I have successfully managed to authenticate against a database with the DatabaseServerLoginModule, but the LDAP documentation seems incomplete. For instance, is there an ldap-service.xml file that I need to deploy, like you would need for database authentication??? Must the <application-policy name = "?????"> in login-config.xml match the <security-domain> in jboss-web.xml? Will someone provide a complete list of the configuration files? So far, I am only using 3 files for configuration:
1. $JBOSS_HOME/server/default/conf/login-config.xml (for <application-policy> stuff using org.jboss.security.auth.spi.LdapLoginModule)
2. $JBOSS_HOME/server/default/deploy/<web-app jar file>::WEB-INF/jboss-web.xml (for <security-domain>)
3. $JBOSS_HOME/server/default/deploy/<web-app jar file>::WEB-INF/web.xml (for <security-constraint>, <login-config>, and <security-role> stuff)
Are there other files that need to be configured? And if so, how do you configure them? Please provide example files if possible.