com.atlassian.crowd.integration.directory.connector.mapper.member
Class RFC4519MemberParser
java.lang.Object
com.atlassian.crowd.integration.directory.connector.mapper.member.RFC4519MemberParser
- All Implemented Interfaces:
- MemberAttributeParser
public class RFC4519MemberParser
- extends java.lang.Object
- implements MemberAttributeParser
This is the default for most directories.
This attribute parser is used in directories where the "member" attribute contains a list of DNs, each of which
represents a member of that container. So, on a group called "Crowd Engineers", the member attribute might contain
"cn=Shihab,ou=Sydney,dc=atlassian,dc=com; cn=Justin,ou=Sydney,dc=atlassian,dc=com". This parser would return
DirContextAdapters for Shihab and for Justin.
Field Summary |
protected org.apache.log4j.Logger |
logger
|
Method Summary |
java.util.Collection<org.springframework.ldap.core.DirContextAdapter> |
fetchDirectMembers(org.springframework.ldap.core.DirContextAdapter container)
Given a DirContextAdapter representing a container, reads the members and loads attributes for each. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.log4j.Logger logger
RFC4519MemberParser
public RFC4519MemberParser(org.springframework.ldap.core.LdapTemplate ldapTemplate,
LDAPPropertiesMapper ldapPropertiesMapper)
fetchDirectMembers
public java.util.Collection<org.springframework.ldap.core.DirContextAdapter> fetchDirectMembers(org.springframework.ldap.core.DirContextAdapter container)
- Given a DirContextAdapter representing a container, reads the members and loads attributes for each.
- Specified by:
fetchDirectMembers
in interface MemberAttributeParser
- Parameters:
container
-
- Returns:
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.