public class ElytronSamlSessionStore extends Object implements SamlSessionStore, ElytronTokeStore
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 |
|---|
ElytronSamlSessionStore(org.keycloak.adapters.saml.elytron.ElytronHttpFacade exchange,
SessionIdMapper idMapper,
SamlDeployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
changeSessionId(org.wildfly.security.http.HttpScope session) |
SamlSession |
getAccount() |
String |
getRedirectUri() |
protected org.wildfly.security.http.HttpScope |
getSession(boolean create) |
boolean |
isLoggedIn() |
boolean |
isLoggingIn() |
boolean |
isLoggingOut() |
void |
logout(boolean glo) |
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 ElytronSamlSessionStore(org.keycloak.adapters.saml.elytron.ElytronHttpFacade exchange, SessionIdMapper idMapper, 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(org.wildfly.security.http.HttpScope 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 org.wildfly.security.http.HttpScope getSession(boolean create)
public void logout(boolean glo)
logout in interface ElytronTokeStoreCopyright © 2018 JBoss by Red Hat. All rights reserved.