public class ServletSamlSessionStore extends Object implements SamlSessionStore
SamlSessionStore.CurrentAction| Modifier and Type | Field and Description |
|---|---|
protected SamlDeployment |
deployment |
protected static org.jboss.logging.Logger |
log |
static String |
SAML_REDIRECT_URI |
CURRENT_ACTION, SAML_LOGIN_ERROR_STATUS, SAML_LOGOUT_ERROR_STATUS| Constructor and Description |
|---|
ServletSamlSessionStore(io.undertow.server.HttpServerExchange exchange,
UndertowUserSessionManagement sessionManagement,
io.undertow.security.api.SecurityContext securityContext,
SessionIdMapper idMapper,
SessionIdMapperUpdater idMapperUpdater,
SamlDeployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
changeSessionId(javax.servlet.http.HttpSession session) |
SamlSession |
getAccount() |
String |
getRedirectUri() |
protected javax.servlet.http.HttpSession |
getSession(boolean create) |
boolean |
isLoggedIn() |
boolean |
isLoggingIn() |
boolean |
isLoggingOut() |
void |
logoutAccount() |
void |
logoutByPrincipal(String principal) |
void |
logoutBySsoId(List<String> ssoIds) |
protected void |
logoutSessionIds(List<String> sessionIds) |
boolean |
restoreRequest() |
void |
saveAccount(SamlSession account) |
void |
saveRequest() |
void |
setCurrentAction(SamlSessionStore.CurrentAction action) |
protected static org.jboss.logging.Logger log
public static final String SAML_REDIRECT_URI
protected final SamlDeployment deployment
public ServletSamlSessionStore(io.undertow.server.HttpServerExchange exchange,
UndertowUserSessionManagement sessionManagement,
io.undertow.security.api.SecurityContext securityContext,
SessionIdMapper idMapper,
SessionIdMapperUpdater idMapperUpdater,
SamlDeployment deployment)
public void setCurrentAction(SamlSessionStore.CurrentAction action)
setCurrentAction in interface SamlSessionStorepublic boolean isLoggingIn()
isLoggingIn in interface SamlSessionStorepublic boolean isLoggingOut()
isLoggingOut in interface SamlSessionStorepublic void logoutAccount()
logoutAccount in interface SamlSessionStorepublic void logoutByPrincipal(String principal)
logoutByPrincipal in interface SamlSessionStorepublic void logoutBySsoId(List<String> ssoIds)
logoutBySsoId in interface SamlSessionStorepublic boolean isLoggedIn()
isLoggedIn in interface SamlSessionStorepublic void saveAccount(SamlSession account)
saveAccount in interface SamlSessionStoreprotected String changeSessionId(javax.servlet.http.HttpSession session)
public SamlSession getAccount()
getAccount in interface SamlSessionStorepublic String getRedirectUri()
getRedirectUri in interface SamlSessionStorepublic void saveRequest()
saveRequest in interface AdapterSessionStorepublic boolean restoreRequest()
restoreRequest in interface AdapterSessionStoreprotected javax.servlet.http.HttpSession getSession(boolean create)
Copyright © 2019 JBoss by Red Hat. All rights reserved.