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, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started
container, containerLog, controller, domain, mserver, next, oname
AFTER_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, setSecurePagesWithPragma
backgroundProcess, createObjectName, event, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toString
protected static final java.lang.String info
public java.lang.String getInfo()
getInfo
in interface Valve
getInfo
in class AuthenticatorBase
public boolean authenticate(Request request, Response response, LoginConfig config) throws java.io.IOException
authenticate
in class AuthenticatorBase
request
- 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 Lifecycle
start
in class AuthenticatorBase
LifecycleException
- if this component detects a fatal error
that prevents this component from being usedpublic void stop() throws LifecycleException
stop
in interface Lifecycle
stop
in class AuthenticatorBase
LifecycleException
- if this component detects a fatal error
that prevents this component from being usedCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.