com.atlassian.user.impl.ldap
Class ApacheDSTestRepository

java.lang.Object
  extended by com.atlassian.user.impl.ldap.repository.DefaultLdapContextFactory
      extended by com.atlassian.user.impl.ldap.ApacheDSTestRepository
All Implemented Interfaces:
com.atlassian.user.impl.ldap.repository.LdapContextFactory

public class ApacheDSTestRepository
extends com.atlassian.user.impl.ldap.repository.DefaultLdapContextFactory

Test LDAP repository that creates a JNDI environment suitable for Apache DS.


Field Summary
 
Fields inherited from interface com.atlassian.user.impl.ldap.repository.LdapContextFactory
BASE_GROUP_NAMESPACE, BASE_USER_NAMESPACE, BATCH_SIZE, EMAIL_ATTRIBUTE, FIRSTNAME_ATTRIBUTE, GROUP_SEARCH_ALL_DEPTHS, GROUP_SEARCH_FILTER, GROUPNAME_ATTRIBUTE, HOST, JNDI_INITIAL_CONTEXT_FACTORY, MEMBERSHIP_ATTRIBUTE, PASSWORD_ATTRIBUTE, PORT, PROVIDER_URL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIAL, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, SURNAME_ATTRIBUTE, TIME_TO_LIVE, USE_UNQUALIFIED_USER_NAME_FOR_MEMBERSHIP_COMPARISON, USER_SEARCH_ALL_DEPTHS, USER_SEARCH_FILTER, USERNAME_ATTRIBUTE
 
Constructor Summary
ApacheDSTestRepository(com.atlassian.user.impl.ldap.properties.LdapConnectionProperties connectionProperties)
           
 
Method Summary
 Hashtable<String,Object> getJNDIEnv()
           
 
Methods inherited from class com.atlassian.user.impl.ldap.repository.DefaultLdapContextFactory
getAuthenticationJndiEnvironment, getLDAPContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheDSTestRepository

public ApacheDSTestRepository(com.atlassian.user.impl.ldap.properties.LdapConnectionProperties connectionProperties)
Method Detail

getJNDIEnv

public Hashtable<String,Object> getJNDIEnv()
Specified by:
getJNDIEnv in interface com.atlassian.user.impl.ldap.repository.LdapContextFactory
Overrides:
getJNDIEnv in class com.atlassian.user.impl.ldap.repository.DefaultLdapContextFactory


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