public class BearerTokenAuthenticatorValve
extends org.apache.catalina.authenticator.AuthenticatorBase
implements org.apache.catalina.LifecycleListener
Modifier and Type | Field and Description |
---|---|
protected ManagedResourceConfig |
remoteSkeletonKeyConfig |
protected ResourceMetadata |
resourceMetadata |
algorithm, cache, changeSessionIdOnAuthentication, context, DEFAULT_ALGORITHM, digest, disableProxyCaching, entropy, info, lifecycle, random, randomClass, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started
Constructor and Description |
---|
BearerTokenAuthenticatorValve() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config) |
protected void |
init() |
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event) |
void |
start() |
addLifecycleListener, associate, authenticate, findLifecycleListeners, generateSessionId, getAlgorithm, getCache, getContainer, getDigest, getDisableProxyCaching, getEntropy, getInfo, getRandom, getRandomClass, getSecurePagesWithPragma, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setAlgorithm, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setEntropy, setRandomClass, setSecurePagesWithPragma, stop, unregister
protected ManagedResourceConfig remoteSkeletonKeyConfig
protected ResourceMetadata resourceMetadata
public void start() throws org.apache.catalina.LifecycleException
start
in interface org.apache.catalina.Lifecycle
start
in class org.apache.catalina.authenticator.AuthenticatorBase
org.apache.catalina.LifecycleException
public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent
in interface org.apache.catalina.LifecycleListener
protected void init()
public void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException, javax.servlet.ServletException
invoke
in interface org.apache.catalina.Valve
invoke
in class org.apache.catalina.authenticator.AuthenticatorBase
IOException
javax.servlet.ServletException
protected boolean authenticate(org.apache.catalina.connector.Request request, javax.servlet.http.HttpServletResponse response, org.apache.catalina.deploy.LoginConfig config) throws IOException
authenticate
in class org.apache.catalina.authenticator.AuthenticatorBase
IOException
Copyright © 2014. All Rights Reserved.