Class MCRLDAPClient

java.lang.Object
org.mycore.user2.login.MCRLDAPClient

public class MCRLDAPClient extends Object
Queries an LDAP server for the user's properties. # Timeout when connecting to LDAP server MCR.user2.LDAP.ReadTimeout=5000 # LDAP server MCR.user2.LDAP.ProviderURL=ldap://idp.uni-duisburg-essen.de # Security principal for logging in at LDAP server MCR.user2.LDAP.SecurityPrincipal=cn=duepublico,dc=idp # Security credentials for logging in at LDAP server MCR.user2.LDAP.SecurityCredentials=XXXXXX # Base DN MCR.user2.LDAP.BaseDN=ou=people,dc=idp # Filter for user ID MCR.user2.LDAP.UIDFilter=(uid=%s) # LDAP attribute mappings # Mapping from LDAP attribute to real name of user MCR.user2.LDAP.Mapping.Name=cn # Mapping from LDAP attribute to E-Mail address of user MCR.user2.LDAP.Mapping.E-Mail=mail # Mapping of any attribute.value combination to group membership of user MCR.user2.LDAP.Mapping.Group.eduPersonScopedAffiliation.staff@uni-duisburg-essen.de=creators # Default group membership (optional) MCR.user2.LDAP.Mapping.Group.DefaultGroup=submitters
Author:
Frank Lützenkirchen