|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.auth.AbstractAuthenticationHandler
org.ldaptive.auth.AbstractBindAuthenticationHandler
org.ldaptive.auth.PooledBindAuthenticationHandler
public class PooledBindAuthenticationHandler
Provides an LDAP authentication implementation that leverages a pool of LDAP connections to perform the LDAP bind operation.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.auth.AbstractAuthenticationHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
PooledBindAuthenticationHandler()
Default constructor. |
|
PooledBindAuthenticationHandler(PooledConnectionFactory cf)
Creates a new pooled bind authentication handler. |
|
| Method Summary | |
|---|---|
protected AuthenticationHandlerResponse |
authenticateInternal(Connection c,
AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria. |
protected Connection |
getConnection()
Returns a connection that the authentication operation should be performed on. |
PooledConnectionFactory |
getConnectionFactory()
Returns the connection factory. |
void |
setConnectionFactory(PooledConnectionFactory cf)
Sets the connection factory. |
String |
toString()
|
| Methods inherited from class org.ldaptive.auth.AbstractBindAuthenticationHandler |
|---|
getAuthenticationSaslConfig, setAuthenticationSaslConfig |
| Methods inherited from class org.ldaptive.auth.AbstractAuthenticationHandler |
|---|
authenticate, getAuthenticationControls, processRequestControls, setAuthenticationControls |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PooledBindAuthenticationHandler()
public PooledBindAuthenticationHandler(PooledConnectionFactory cf)
cf - connection factory| Method Detail |
|---|
public PooledConnectionFactory getConnectionFactory()
getConnectionFactory in interface PooledConnectionFactoryManagerpublic void setConnectionFactory(PooledConnectionFactory cf)
setConnectionFactory in interface PooledConnectionFactoryManagercf - connection factory
protected Connection getConnection()
throws LdapException
getConnection in class AbstractAuthenticationHandlerLdapException - if an error occurs provisioning the connection
protected AuthenticationHandlerResponse authenticateInternal(Connection c,
AuthenticationCriteria criteria)
throws LdapException
authenticateInternal in class AbstractAuthenticationHandlerc - to authenticate oncriteria - criteria to authenticate with
LdapException - if the authentication failspublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||