Change By: Milan Divilek (15/Jul/14 6:59 PM)
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
 it  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 user manager with realm name {{ldap}} will use ldap property file defined under {{jndi.ldap.config.ldap}} key
 -- user 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
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to