com.atlassian.crowd.integration.directory.connector.mapper.fetcher
Class DNFetcher
java.lang.Object
com.atlassian.crowd.integration.directory.connector.mapper.fetcher.DNFetcher
- All Implemented Interfaces:
- MemberFetcher
public class DNFetcher
- extends java.lang.Object
- implements MemberFetcher
Fetches the DNs (Distinguished Names) of the direct
members of a directory container. This includes both
container and principal members and everything else
in between!
We can't do any filtering at this stage because we
don't have the attributes of the members at hand
(that will involve another lookup).
Note: this only works for RFC-4519 members.
Method Summary |
void |
addMembers(org.springframework.ldap.core.DirContextAdapter parentContainer,
DirectoryContainer container)
Given a DirContextAdapter representing an LDAP object, fetches all the members and sets them as the members of
container. |
java.util.Collection<java.lang.String> |
fetchDirectMemberDNs(org.springframework.ldap.core.DirContextAdapter container)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ldapPropertiesMapper
protected final LDAPPropertiesMapper ldapPropertiesMapper
isRfc4519
protected final boolean isRfc4519
DNFetcher
public DNFetcher(LDAPPropertiesMapper ldapPropertiesMapper,
boolean isRfc4519)
addMembers
public void addMembers(org.springframework.ldap.core.DirContextAdapter parentContainer,
DirectoryContainer container)
- Description copied from interface:
MemberFetcher
- Given a DirContextAdapter representing an LDAP object, fetches all the members and sets them as the members of
container.
- Specified by:
addMembers
in interface MemberFetcher
fetchDirectMemberDNs
public java.util.Collection<java.lang.String> fetchDirectMemberDNs(org.springframework.ldap.core.DirContextAdapter container)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.