com.atlassian.user.impl.ldap
Class DefaultLDAPUserFactory

java.lang.Object
  extended bycom.atlassian.user.impl.ldap.DefaultLDAPUserFactory
All Implemented Interfaces:
LDAPEntityFactory, LDAPUserFactory

public class DefaultLDAPUserFactory
extends java.lang.Object
implements LDAPUserFactory


Constructor Summary
DefaultLDAPUserFactory(LdapSearchProperties searchProperties)
           
 
Method Summary
 Entity getEntity(javax.naming.directory.Attributes attrs, java.lang.String distinguishedName)
           
 User getUser(javax.naming.directory.Attributes attrs, java.lang.String distinguishedName)
           
 java.util.Collection getUsers(java.util.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 User getUser(javax.naming.directory.Attributes attrs,
                    java.lang.String distinguishedName)
             throws RepositoryException
Specified by:
getUser in interface LDAPUserFactory
Throws:
RepositoryException

getUsers

public java.util.Collection getUsers(java.util.Enumeration userNamingEnumeration)
                              throws RepositoryException
Specified by:
getUsers in interface LDAPUserFactory
Throws:
RepositoryException

getEntity

public Entity getEntity(javax.naming.directory.Attributes attrs,
                        java.lang.String distinguishedName)
                 throws RepositoryException
Specified by:
getEntity in interface LDAPEntityFactory
Throws:
RepositoryException


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