Friday, February 07, 2014

Example: JBoss and LDAP

JBoss 5.1.0.GA.

1. Change directory to server/default/conf and edit login-config.xml
2. Add a new block of application-policy, I put it before the "other" application-policy.



3.Under the WEB-INF directory, create jboss-web.xml and add a jboss-web definition.



4. Edit the web.xml file and add security configurations.



5. It is nice to see what is happening behind the door, so I enable the trace in the JBoss logging configuration. Edit server/default/conf/jboss-log4j.xml.

No comments: