public class SSLAuthenticator extends AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
protected static String |
info
Descriptive information about this implementation.
|
alwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, entropy, log, random, randomClass, rb, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, ssocontainer, controller, debug, domain, lifecycle, next, oname, startedAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENTEND_PIPELINE, INVOKE_NEXT| Constructor and Description |
|---|
SSLAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(HttpRequest request,
HttpResponse 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.
|
protected String |
getAuthMethod() |
String |
getInfo()
Return descriptive information about this Valve implementation.
|
associate, doLogin, generateSessionId, getAlwaysUseSession, getCache, getContainer, getDebug, getDisableProxyCaching, getEntropy, getRandom, getRandomClass, getRealmName, getSession, getSession, getSingleSignOn, invoke, isChangeSessionIdOnAuthentication, isSecurePagesWithPragma, log, log, login, logout, postInvoke, register, setAlwaysUseSession, setCache, setChangeSessionIdOnAuthentication, setContainer, setDebug, setDisableProxyCaching, setEntropy, setRandomClass, setRealmName, setSecurePagesWithPragma, setSingleSignOn, start, stopaddLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getController, getDomain, getNext, getObjectName, getParentName, invoke, isStarted, removeLifecycleListener, setController, setNext, setObjectNameprotected static final String info
public boolean authenticate(HttpRequest request, HttpResponse 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 String getInfo()
getInfo in interface ValvegetInfo in interface GlassFishValvegetInfo in class AuthenticatorBaseprotected String getAuthMethod()
getAuthMethod in class AuthenticatorBaseCopyright © 2019. All rights reserved.