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 |
AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, info, lifecycle, REALM_NAME, 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, getCache, getContainer, getDisableProxyCaching, getInfo, getSecurePagesWithPragma, isChangeSessionIdOnAuthentication, login, logout, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, 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 © 2015 JBoss by Red Hat. All rights reserved.