public class AuthenticatorProxy extends AuthenticatorBase
| Modifier and Type | Field and Description |
|---|---|
static String |
PROXY_AUTH_TYPE |
alwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, entropy, info, 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 |
|---|
AuthenticatorProxy(Authenticator authenticator,
Principal principal,
String authType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(HttpRequest request,
HttpResponse response,
LoginConfig config)
Authenticate the user making this request, based on the specified login configuration.
|
String |
getAuthMethod() |
boolean |
getCache()
Return the cache authenticated Principals flag.
|
Container |
getContainer()
Return the Container to which this Valve is attached.
|
associate, doLogin, generateSessionId, getAlwaysUseSession, getDebug, getDisableProxyCaching, getEntropy, getInfo, 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, setObjectNamepublic static final String PROXY_AUTH_TYPE
public AuthenticatorProxy(Authenticator authenticator, Principal principal, String authType) throws LifecycleException
LifecycleExceptionpublic boolean authenticate(HttpRequest request, HttpResponse response, LoginConfig config) throws IOException
AuthenticatorBasetrue if
any specified constraint has been satisfied, or false if we have created a response challenge already.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 getAuthMethod()
getAuthMethod in class AuthenticatorBasepublic boolean getCache()
AuthenticatorBasegetCache in class AuthenticatorBasepublic Container getContainer()
AuthenticatorBasegetContainer in interface ContainedgetContainer in class AuthenticatorBaseCopyright © 2019. All rights reserved.