User Tools

Site Tools


java:ldapconfigfromtheground

This is an old revision of the document!


Configuring LDAP for an application from the ground

I don't know if it is your case, but in mine, I have a BIG trouble when configuring a Jboss application to connect to LDAP (Active Directory). The documentation in the jboss website is not very detailed, and it appears as all the websites speak of well-know issues, so they don't detailed very much the steps need to be done to configure it.

In this page I will try to document every detail I did with a real-life application as an example: the JMX console.

From the ground

Version of Jboss: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)

The community edition of JBoss is rare in terms of version: since one version to another, things can change, stop working, or God knows what other things can occurr. So I learned that the first step is to establish, withe in blank, the version of Jboss. Let's continue.

My application: JBOSS_HOME/server/default/deploy/jmx-console.war

From now on, when I speak of WEB-INF/jboss-web.xml, for instance, in fact I am speaking of JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml.

Step 1: set a security domain

Open WEB-INF/jboss-web.xml.

java/ldapconfigfromtheground.1287572020.txt.gz · Last modified: 2022/12/02 22:02 (external edit)