public class KeycloakAuthenticatorValve extends AbstractKeycloakAuthenticatorValve
deploymentContext, nodesRegistrationManagement, TOKEN_STORE_NOTE, userSessionManagementcharacterEncoding, info, landingPageAUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, lifecycle, REALM_NAME, securePagesWithPragma, SESSION_ID_BYTES, sm, sso, started| 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) |
void |
logout(org.apache.catalina.connector.Request request) |
void |
start() |
authenticateInternal, beforeStop, checkKeycloakSession, createRequestAuthenticator, getTokenStore, invoke, keycloakInit, keycloakRestoreRequest, keycloakSaveRequest, lifecycleEvent, logoutInternalforwardToErrorPage, forwardToLoginPage, getCharacterEncoding, getInfo, getLandingPage, matchRequest, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding, setLandingPageaddLifecycleListener, associate, authenticate, findLifecycleListeners, generateSessionId, getCache, getContainer, getDisableProxyCaching, getSecurePagesWithPragma, isChangeSessionIdOnAuthentication, login, reauthenticateFromSSO, register, removeLifecycleListener, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, stop, unregisterpublic 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.FormAuthenticatorIOExceptionprotected boolean forwardToErrorPageInternal(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
Object loginConfig)
throws IOException
forwardToErrorPageInternal in class AbstractKeycloakAuthenticatorValveIOExceptionpublic void start()
throws org.apache.catalina.LifecycleException
start in interface org.apache.catalina.Lifecyclestart in class org.apache.catalina.authenticator.AuthenticatorBaseorg.apache.catalina.LifecycleExceptionpublic void logout(org.apache.catalina.connector.Request request)
logout in interface org.apache.catalina.Authenticatorlogout in class org.apache.catalina.authenticator.AuthenticatorBaseprotected GenericPrincipalFactory createPrincipalFactory()
createPrincipalFactory in class AbstractKeycloakAuthenticatorValveCopyright © 2017 JBoss by Red Hat. All rights reserved.