public abstract class AbstractCompareAuthenticationHandler extends AbstractAuthenticationHandler
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_SCHEME
Default password scheme.
|
logger
Constructor and Description |
---|
AbstractCompareAuthenticationHandler() |
Modifier and Type | Method and Description |
---|---|
protected AuthenticationHandlerResponse |
authenticateInternal(Connection c,
AuthenticationCriteria criteria)
Authenticate on the supplied connection using the supplied criteria.
|
protected abstract Connection |
getConnection()
Returns a connection that the compare operation should be performed on.
|
String |
getPasswordScheme()
Returns the password scheme.
|
void |
setPasswordScheme(String s)
Sets the password scheme.
|
authenticate, getAuthenticationControls, setAuthenticationControls
protected static final String DEFAULT_SCHEME
public AbstractCompareAuthenticationHandler()
public String getPasswordScheme()
public void setPasswordScheme(String s)
s
- password schemeprotected AuthenticationHandlerResponse authenticateInternal(Connection c, AuthenticationCriteria criteria) throws LdapException
AbstractAuthenticationHandler
authenticateInternal
in class AbstractAuthenticationHandler
c
- to authenticate oncriteria
- criteria to authenticate withLdapException
- if the authentication failsprotected abstract Connection getConnection() throws LdapException
getConnection
in class AbstractAuthenticationHandler
LdapException
- if an error occurs provisioning the connectionCopyright © 2023. All rights reserved.