public class ServletSamlAuthMech extends AbstractSamlAuthMech
Modifier and Type | Field and Description |
---|---|
protected SessionIdMapper |
idMapper |
protected SessionIdMapperUpdater |
idMapperUpdater |
deploymentContext, errorPage, KEYCLOAK_CHALLENGE_ATTACHMENT_KEY, sessionManagement
Constructor and Description |
---|
ServletSamlAuthMech(SamlDeploymentContext deploymentContext,
UndertowUserSessionManagement sessionManagement,
String errorPage) |
Modifier and Type | Method and Description |
---|---|
void |
addTokenStoreUpdaters(io.undertow.servlet.api.DeploymentInfo deploymentInfo) |
protected UndertowHttpFacade |
createFacade(io.undertow.server.HttpServerExchange exchange) |
SessionIdMapperUpdater |
getIdMapperUpdater() |
protected SamlSessionStore |
getTokenStore(io.undertow.server.HttpServerExchange exchange,
HttpFacade facade,
SamlDeployment deployment,
io.undertow.security.api.SecurityContext securityContext) |
protected void |
redirectLogout(SamlDeployment deployment,
io.undertow.server.HttpServerExchange exchange) |
protected Integer |
servePage(io.undertow.server.HttpServerExchange exchange,
String location) |
protected void |
setIdMapperUpdater(SessionIdMapperUpdater idMapperUpdater) |
authenticate, registerNotifications, sendChallenge
protected SessionIdMapper idMapper
protected SessionIdMapperUpdater idMapperUpdater
public ServletSamlAuthMech(SamlDeploymentContext deploymentContext, UndertowUserSessionManagement sessionManagement, String errorPage)
public void addTokenStoreUpdaters(io.undertow.servlet.api.DeploymentInfo deploymentInfo)
protected SamlSessionStore getTokenStore(io.undertow.server.HttpServerExchange exchange, HttpFacade facade, SamlDeployment deployment, io.undertow.security.api.SecurityContext securityContext)
getTokenStore
in class AbstractSamlAuthMech
protected UndertowHttpFacade createFacade(io.undertow.server.HttpServerExchange exchange)
createFacade
in class AbstractSamlAuthMech
protected void redirectLogout(SamlDeployment deployment, io.undertow.server.HttpServerExchange exchange)
redirectLogout
in class AbstractSamlAuthMech
protected Integer servePage(io.undertow.server.HttpServerExchange exchange, String location)
servePage
in class AbstractSamlAuthMech
public SessionIdMapperUpdater getIdMapperUpdater()
protected void setIdMapperUpdater(SessionIdMapperUpdater idMapperUpdater)
Copyright © 2019 JBoss by Red Hat. All rights reserved.