public class SSLAuthenticator extends AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
protected static String |
info
Descriptive information about this implementation.
|
AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sso, startedcontainer, 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,
javax.servlet.http.HttpServletResponse 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.
|
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, authenticate, findLifecycleListeners, generateSessionId, getCache, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, invoke, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, unregisterbackgroundProcess, createObjectName, event, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setController, setNext, setObjectName, toStringprotected static final String info
public String getInfo()
getInfo in interface ValvegetInfo in class AuthenticatorBasepublic boolean authenticate(Request request, javax.servlet.http.HttpServletResponse response, LoginConfig config) throws IOException
authenticate in class AuthenticatorBaserequest - Request we are processingresponse - Response we are creatingconfig - Login configuration describing how authentication
should be performedIOException - 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 © 2016 JBoss by Red Hat. All rights reserved.