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 void
addObjectFactory(Class<? extends ObjectFactory> objectFactoryClass)
void
addStateFactory(Class<? extends StateFactory> objectFactoryClass)
LdapName
getBaseDnLdapName()
LdapConnection
getConnection()
LdapConnection
getConnection(String bindDn, String password)
LdapConnection
getConnection(Rdn subRdn)
LdapConnection
getConnection(LdapConnectionConfiguration ldapConnectionConfiguration)
void
initialize()
boolean
isValid()
-
-
-
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()
-
-