com.atlassian.user.impl.ldap
Class LDAPUserManagerReadOnly
java.lang.Object
com.atlassian.user.impl.ReadOnlyUserManager
com.atlassian.user.impl.ldap.LDAPUserManagerReadOnly
- All Implemented Interfaces:
- EntityManager, UserManager
- public class LDAPUserManagerReadOnly
- extends ReadOnlyUserManager
Field Summary |
protected org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Logger log
LDAPUserManagerReadOnly
public LDAPUserManagerReadOnly(RepositoryIdentifier repositoryIdentifier,
LdapContextFactory repository,
LdapSearchProperties searchProperties,
LdapFilterFactory filterFactory)
getUsers
public Pager getUsers()
throws EntityException
- Returns:
- all users in the configured repository
- Throws:
RepositoryException
EntityException
getUserNames
public Pager getUserNames()
throws EntityException
- Returns:
- a
Pager
holding the names of all users being managed.
- Throws:
EntityException
getUser
public User getUser(java.lang.String username)
throws EntityException
- Returns:
- - a
null
or a User
if one could be found.
- Throws:
EntityException
- - representing a system error.
getIdentifier
public RepositoryIdentifier getIdentifier()
- Returns:
- the
RepositoryIdentifier
which is managed by this instance.
getRepository
public RepositoryIdentifier getRepository(Entity entity)
throws EntityException
- Returns:
- the
RepositoryIdentifier
of the repository in which the entity is stored, or null
if the entity cannot be found.
- Throws:
EntityException
- if the entity cannot be found, or trying to retrieve it results in an error
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.