public class KeycloakAuthenticatorValve extends AbstractKeycloakAuthenticatorValve
deploymentContext, nodesRegistrationManagement, TOKEN_STORE_NOTE, userSessionManagementcharacterEncoding, info, landingPagealwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, REALM_NAME, securePagesWithPragma, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionIdGenerator, sm, ssoasyncSupported, container, containerLog, nextAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
KeycloakAuthenticatorValve() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config) |
protected GenericPrincipalFactory |
createPrincipalFactory() |
protected boolean |
forwardToErrorPageInternal(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
Object loginConfig) |
protected void |
initInternal() |
void |
logout(org.apache.catalina.connector.Request request) |
authenticateInternal, beforeStop, checkKeycloakSession, createRequestAuthenticator, getTokenStore, invoke, keycloakInit, keycloakRestoreRequest, keycloakSaveRequest, lifecycleEvent, logoutInternalforwardToErrorPage, forwardToLoginPage, getAuthMethod, getCharacterEncoding, getInfo, getLandingPage, matchRequest, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding, setLandingPageassociate, authenticate, doLogin, getAlwaysUseSession, getCache, getChangeSessionIdOnAuthentication, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, login, reauthenticateFromSSO, register, setAlwaysUseSession, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, startInternal, stopInternalbackgroundProcess, event, getDomainInternal, getNext, getObjectNameKeyProperties, isAsyncSupported, setAsyncSupported, setNext, toStringdestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic boolean authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
authenticate in interface org.apache.catalina.Authenticatorauthenticate in class org.apache.catalina.authenticator.FormAuthenticatorIOExceptionprotected boolean forwardToErrorPageInternal(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
Object loginConfig)
throws IOException
forwardToErrorPageInternal in class AbstractKeycloakAuthenticatorValveIOExceptionprotected void initInternal()
initInternal in class org.apache.catalina.valves.ValveBasepublic void logout(org.apache.catalina.connector.Request request)
throws javax.servlet.ServletException
logout in interface org.apache.catalina.Authenticatorlogout in class org.apache.catalina.authenticator.AuthenticatorBasejavax.servlet.ServletExceptionprotected GenericPrincipalFactory createPrincipalFactory()
createPrincipalFactory in class AbstractKeycloakAuthenticatorValveCopyright © 2016 JBoss by Red Hat. All rights reserved.