Class ElytronSamlSessionStore
java.lang.Object
org.keycloak.adapters.saml.elytron.ElytronSamlSessionStore
- All Implemented Interfaces:
ElytronTokeStore,SamlSessionStore,AdapterSessionStore
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.adapters.saml.SamlSessionStore
SamlSessionStore.CurrentAction -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SamlDeploymentprotected static org.jboss.logging.Loggerstatic final StringFields inherited from interface org.keycloak.adapters.saml.SamlSessionStore
CURRENT_ACTION, SAML_LOGIN_ERROR_STATUS, SAML_LOGOUT_ERROR_STATUS -
Constructor Summary
ConstructorsConstructorDescriptionElytronSamlSessionStore(org.keycloak.adapters.saml.elytron.ElytronHttpFacade exchange, SessionIdMapper idMapper, SessionIdMapperUpdater idMapperUpdater, SamlDeployment deployment) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringchangeSessionId(org.wildfly.security.http.HttpScope session) protected org.wildfly.security.http.HttpScopegetSession(boolean create) booleanbooleanbooleanvoidlogout(boolean glo) voidvoidlogoutByPrincipal(String principal) voidlogoutBySsoId(List<String> ssoIds) protected voidlogoutSessionIds(List<String> sessionIds) booleanvoidsaveAccount(SamlSession account) voidvoid
-
Field Details
-
log
protected static org.jboss.logging.Logger log -
SAML_REDIRECT_URI
- See Also:
-
deployment
-
-
Constructor Details
-
ElytronSamlSessionStore
public ElytronSamlSessionStore(org.keycloak.adapters.saml.elytron.ElytronHttpFacade exchange, SessionIdMapper idMapper, SessionIdMapperUpdater idMapperUpdater, SamlDeployment deployment)
-
-
Method Details
-
setCurrentAction
- Specified by:
setCurrentActionin interfaceSamlSessionStore
-
isLoggingIn
public boolean isLoggingIn()- Specified by:
isLoggingInin interfaceSamlSessionStore
-
isLoggingOut
public boolean isLoggingOut()- Specified by:
isLoggingOutin interfaceSamlSessionStore
-
logoutAccount
public void logoutAccount()- Specified by:
logoutAccountin interfaceSamlSessionStore
-
logoutByPrincipal
- Specified by:
logoutByPrincipalin interfaceSamlSessionStore
-
logoutBySsoId
- Specified by:
logoutBySsoIdin interfaceSamlSessionStore
-
logoutSessionIds
-
isLoggedIn
public boolean isLoggedIn()- Specified by:
isLoggedInin interfaceSamlSessionStore
-
saveAccount
- Specified by:
saveAccountin interfaceSamlSessionStore
-
changeSessionId
-
getAccount
- Specified by:
getAccountin interfaceSamlSessionStore
-
getRedirectUri
- Specified by:
getRedirectUriin interfaceSamlSessionStore
-
saveRequest
public void saveRequest()- Specified by:
saveRequestin interfaceAdapterSessionStore
-
restoreRequest
public boolean restoreRequest()- Specified by:
restoreRequestin interfaceAdapterSessionStore
-
getSession
protected org.wildfly.security.http.HttpScope getSession(boolean create) -
logout
public void logout(boolean glo) - Specified by:
logoutin interfaceElytronTokeStore
-