[DOCU-525] Support for more than one LDAP server Created: 07/Jul/14  Updated: 12/Jan/15  Resolved: 12/Jan/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Milan Divilek Assignee: Antti Hietala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File UserMangers.png    
Issue Links:
relation
is related to MGNLLDAP-83 Support for more than one LDAP server Closed

 Description   

Ldap module version 1.6.3 introduced possibility define more then one ldap/ad property file. So it allows connect to more than one LDAP server.

Example how to define it:

User Managers:

  • Under Configuration > /server/security/userManagers define how many external user managers need
  • for example see attached UserMagers where we define three ldap/ad user managers with ad, ldap and external realm names

magnolia.properties:

  • define additional property files in magnolia.properties file with this pattern jndi.ldap.config.<realmName> where realmName corresponds with realm name of the UserManager.
  • for example:
    • define three ldap properties file in magnolia.properties
      • jndi.ldap.config=WEB-INF/config/default-ldap.properties
      • jndi.ldap.config.ldap=WEB-INF/config/ldap.properties
      • jndi.ldap.config.ad=WEB-INF/config/ad.properties
    • Then user manager with realm name ad will use ldap property file defined under jndi.ldap.config.ad key
    • user manager with realm name ldap will use ldap property file defined under jndi.ldap.config.ldap key
    • user manager with realm name external will use ldap property file defined under default key (jndi.ldap.config), because no specific ldap property files is defined for external realm


 Comments   
Comment by Antti Hietala [ 12/Jan/15 ]

Documented in Configuring multiple directory servers.

Generated at Mon Feb 12 01:09:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.