public class ServletSamlSessionStore extends Object implements SamlSessionStore
SamlSessionStore.CurrentAction| Modifier and Type | Field and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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
public ServletSamlSessionStore(io.undertow.server.HttpServerExchange exchange,
UndertowUserSessionManagement sessionManagement,
io.undertow.security.api.SecurityContext securityContext,
SessionIdMapper idMapper)
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 SamlSessionStorepublic 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 © 2016 JBoss by Red Hat. All rights reserved.