com.atlassian.user.impl.ldap
Class DefaultLDAPUserFactory

java.lang.Object
  extended by com.atlassian.user.impl.ldap.DefaultLDAPUserFactory
All Implemented Interfaces:
LDAPEntityFactory<User>, LDAPUserFactory

public class DefaultLDAPUserFactory
extends Object
implements LDAPUserFactory


Constructor Summary
DefaultLDAPUserFactory(LdapSearchProperties searchProperties)
           
 
Method Summary
 DefaultLDAPUser getEntity(Attributes attrs, String distinguishedName)
           
 DefaultLDAPUser getUser(Attributes attrs, String distinguishedName)
           
 Collection<User> getUsers(Enumeration userNamingEnumeration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLDAPUserFactory

public DefaultLDAPUserFactory(LdapSearchProperties searchProperties)
Method Detail

getUser

public DefaultLDAPUser getUser(Attributes attrs,
                               String distinguishedName)
                        throws RepositoryException
Specified by:
getUser in interface LDAPUserFactory
Throws:
RepositoryException

getUsers

public Collection<User> getUsers(Enumeration userNamingEnumeration)
                          throws RepositoryException
Specified by:
getUsers in interface LDAPUserFactory
Throws:
RepositoryException

getEntity

public DefaultLDAPUser getEntity(Attributes attrs,
                                 String distinguishedName)
                          throws RepositoryException
Specified by:
getEntity in interface LDAPEntityFactory<User>
Throws:
RepositoryException


Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.