com.atlassian.user.impl.ldap.adaptor
Class LDAPStaticGroupAdaptor
java.lang.Object
com.atlassian.user.impl.ldap.adaptor.AbstractLDAPGroupAdaptor
com.atlassian.user.impl.ldap.adaptor.LDAPStaticGroupAdaptor
- All Implemented Interfaces:
- LDAPGroupAdaptor
- public class LDAPStaticGroupAdaptor
- extends AbstractLDAPGroupAdaptor
Methods inherited from class com.atlassian.user.impl.ldap.adaptor.AbstractLDAPGroupAdaptor |
constructGroupSearchFilter, constructGroupSearchFilter, getFirstPhraseFromDN, getGroup, getGroupDN, getGroupDN, getGroupEntries, getGroupEntries, getGroupEntries, getGroupEntries, getGroupFactory, getGroups, search, search |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPStaticGroupAdaptor
public LDAPStaticGroupAdaptor(LdapContextFactory repository,
LdapSearchProperties searchProperties,
LDAPGroupFactory groupFactory,
LdapFilterFactory filterFactory,
LdapMembershipProperties membershipProperties)
getGroups
public Pager getGroups(User user)
throws EntityException
- Returns:
- A
Pager
holding containing a Group
for each group the user belongs to. An empty pager
will be returned if the user does not belong to any groups that this manager knows about.
- Throws:
EntityException
findMembers
public Pager findMembers(Group group)
throws EntityException
- Throws:
EntityException
findMemberNames
public Pager findMemberNames(Group group)
throws EntityException
- Throws:
EntityException
hasStaticGroups
public boolean hasStaticGroups()
hasMembership
public boolean hasMembership(Group group,
User user)
throws RepositoryException
- Throws:
RepositoryException
getGroupEntriesViaMembership
public LDAPPagerInfo getGroupEntriesViaMembership(User user)
throws EntityException
- Throws:
EntityException
getGroupEntriesViaMembership
public LDAPPagerInfo getGroupEntriesViaMembership(java.lang.String username)
throws EntityException
- Throws:
EntityException
getGroupEntriesViaMembership
public LDAPPagerInfo getGroupEntriesViaMembership(java.lang.String username,
java.lang.String[] attributesToReturn)
throws EntityException
- Throws:
EntityException
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.