-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
None
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
- define three ldap properties file in magnolia.properties
Acceptance criteria
- is related to
-
MGNLLDAP-83 Support for more than one LDAP server
- Closed