This discussion is archived
0 Replies Latest reply: Jun 16, 2010 6:56 AM by 807573 RSS

How to cofigure 2 Independent LDAP integration with 1 JBOSS portal instance

807573 Oracle ACE
Currently Being Moderated
In my jboss portal application I have 1 JBOSS application instance which is integrated with 2 LDAP setup with different- different user schema. I am able to configure one LDAP within jboss but not both the LDAPs.

My ldap_identity-config.xml looks like this after entering both the ldaps-
<identity-configuration>
<datasources>
<datasource>
<name>LDAP</name>
<config>
<option>
<name>host</name>
<value>ldap.mydomain.com</value>
</option>
<option>
<name>port</name>
<value>5389</value>
</option>
<option>
<name>adminDN</name>
<value>cn=Directory Manager</value>
</option>
<option>
<name>adminPassword</name>
<value>password</value>
</option>
<!--<option>
<name>protocol</name>
<value>ssl</value>
</option>-->
</config>
</datasource>
<datasource>
<name>LDAP1</name>
<config>
<option>
<name>host</name>
<value>ldap.mydomain.com</value>
</option>
<option>
<name>port</name>
<value>6389</value>
</option>
<option>
<name>adminDN</name>
<value>cn=Directory Manager</value>
</option>
<option>
<name>adminPassword</name>
<value>password</value>
</option>
<!--<option>
<name>protocol</name>
<value>ssl</value>
</option>-->
</config>
</datasource>
</datasources>

Error Log:
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=Module,type=IdentityServiceController
State: FAILED
Reason: org.jboss.portal.identity.IdentityException: Cannot initiate identity modules:

Now anyone has any idea how to configure both the LDAP in single JBOSS instance for authentication as both the LDAPs having different – different users.

Any help in this regard is appreciated.

-- Ramendra