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,
SessionIdMapperUpdater idMapperUpdater,
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, SessionIdMapperUpdater idMapperUpdater, SamlDeployment deployment)
public void setCurrentAction(SamlSessionStore.CurrentAction action)
setCurrentAction
in interface SamlSessionStore
public boolean isLoggingIn()
isLoggingIn
in interface SamlSessionStore
public boolean isLoggingOut()
isLoggingOut
in interface SamlSessionStore
public void logoutAccount()
logoutAccount
in interface SamlSessionStore
public void logoutByPrincipal(String principal)
logoutByPrincipal
in interface SamlSessionStore
public void logoutBySsoId(List<String> ssoIds)
logoutBySsoId
in interface SamlSessionStore
public boolean isLoggedIn()
isLoggedIn
in interface SamlSessionStore
public void saveAccount(SamlSession account)
saveAccount
in interface SamlSessionStore
protected String changeSessionId(org.wildfly.security.http.HttpScope session)
public SamlSession getAccount()
getAccount
in interface SamlSessionStore
public String getRedirectUri()
getRedirectUri
in interface SamlSessionStore
public void saveRequest()
saveRequest
in interface AdapterSessionStore
public boolean restoreRequest()
restoreRequest
in interface AdapterSessionStore
protected org.wildfly.security.http.HttpScope getSession(boolean create)
public void logout(boolean glo)
logout
in interface ElytronTokeStore
Copyright © 2020 JBoss by Red Hat. All rights reserved.