[jboss-user] [JBoss Portal] - How to cofigure 2 Independent LDAP integration with 1 JBOSS portal instance

Ramendra Shekhawat do-not-reply at jboss.com
Wed Jun 16 10:01:58 EDT 2010


Ramendra Shekhawat [http://community.jboss.org/people/friendrss] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/548267#548267

--------------------------------------------------------------
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:


Please find the atatched zip file for complete configuration setting that is done in ldap_identity-config.xml and standardidentity-config.xml.

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

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/548267#548267]

Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2011]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100616/bf9c8bf4/attachment.html 


More information about the jboss-user mailing list