Interface LdapConnectionFactory
-
- All Known Implementing Classes:
ConfigurableLdapConnectionFactory
public interface LdapConnectionFactory
- Author:
- Trygve Laugstøl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddObjectFactory(Class<? extends ObjectFactory> objectFactoryClass)voidaddStateFactory(Class<? extends StateFactory> objectFactoryClass)LdapNamegetBaseDnLdapName()LdapConnectiongetConnection()LdapConnectiongetConnection(String bindDn, String password)LdapConnectiongetConnection(Rdn subRdn)LdapConnectiongetConnection(LdapConnectionConfiguration ldapConnectionConfiguration)voidinitialize()booleanisValid()
-
-
-
Method Detail
-
getConnection
LdapConnection getConnection() throws LdapException
- Throws:
LdapException
-
getConnection
LdapConnection getConnection(LdapConnectionConfiguration ldapConnectionConfiguration) throws LdapException
- Throws:
LdapException
-
getConnection
LdapConnection getConnection(Rdn subRdn) throws LdapException
- Throws:
LdapException
-
getConnection
LdapConnection getConnection(String bindDn, String password) throws LdapException
- Throws:
LdapException
-
getBaseDnLdapName
LdapName getBaseDnLdapName() throws LdapException
- Throws:
LdapException
-
addObjectFactory
void addObjectFactory(Class<? extends ObjectFactory> objectFactoryClass)
-
addStateFactory
void addStateFactory(Class<? extends StateFactory> objectFactoryClass)
-
initialize
void initialize()
-
isValid
boolean isValid()
-
-