org.apache.catalina.authenticator
public class SSLAuthenticator extends AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
info
Descriptive information about this implementation.
|
algorithm, cache, changeSessionIdOnAuthentication, context, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, lifecycle, random, randomClass, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, startedcontainer, containerLog, controller, domain, mserver, next, onameAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
SSLAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(Request request,
Response response,
LoginConfig config)
Authenticate the user by checking for the existence of a certificate
chain, and optionally asking a trust manager to validate that we trust
this user.
|
java.lang.String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
start()
Initialize the database we will be using for client verification
and certificate validation (if any).
|
void |
stop()
Finalize the database we used for client verification and
certificate validation (if any).
|
addLifecycleListener, associate, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getChangeSessionIdOnAuthentication, getContainer, getDigest, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getSecurePagesWithPragma, invoke, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setEntropy, setRandomClass, setSecurePagesWithPragmabackgroundProcess, createObjectName, event, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toStringprotected static final java.lang.String info
public java.lang.String getInfo()
getInfo in interface ValvegetInfo in class AuthenticatorBasepublic boolean authenticate(Request request, Response response, LoginConfig config) throws java.io.IOException
authenticate in class AuthenticatorBaserequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication
should be performedjava.io.IOException - if an input/output error occurspublic void start()
throws LifecycleException
start in interface Lifecyclestart in class AuthenticatorBaseLifecycleException - if this component detects a fatal error
that prevents this component from being usedpublic void stop()
throws LifecycleException
stop in interface Lifecyclestop in class AuthenticatorBaseLifecycleException - if this component detects a fatal error
that prevents this component from being usedCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.