|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.user.impl.ldap.repository.DefaultLdapContextFactory
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 | |
DefaultLdapContextFactory(LdapConnectionProperties connectionProperties)
|
Method Summary | |
java.util.Hashtable |
getAuthenticationJndiEnvironment(java.lang.String userDn,
java.lang.String password)
Returns a JNDI environment suitable for passing to InitialDirContext#InitialContext(Hashtable) . |
java.util.Hashtable |
getJNDIEnv()
Returns a JNDI environment suitable for passing to InitialDirContext.InitialDirContext(Hashtable) . |
javax.naming.directory.DirContext |
getLDAPContext()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultLdapContextFactory(LdapConnectionProperties connectionProperties)
Method Detail |
public java.util.Hashtable getJNDIEnv()
LdapContextFactory
InitialDirContext.InitialDirContext(Hashtable)
.
The environment is suitable for a connection using all the configuration specified in the other properties
on this object.
getJNDIEnv
in interface LdapContextFactory
public java.util.Hashtable getAuthenticationJndiEnvironment(java.lang.String userDn, java.lang.String password)
LdapContextFactory
InitialDirContext#InitialContext(Hashtable)
.
The environment is suitable for a connection for authenticating the username and password provided.
getAuthenticationJndiEnvironment
in interface LdapContextFactory
public javax.naming.directory.DirContext getLDAPContext() throws RepositoryException
getLDAPContext
in interface LdapContextFactory
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |