public class ServletSessionTokenStore extends Object implements AdapterTokenStore
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
log |
| Constructor and Description |
|---|
ServletSessionTokenStore(io.undertow.server.HttpServerExchange exchange,
KeycloakDeployment deployment,
UndertowUserSessionManagement sessionManagement,
io.undertow.security.api.SecurityContext securityContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCurrentToken() |
protected javax.servlet.http.HttpSession |
getSession(boolean create) |
boolean |
isCached(RequestAuthenticator authenticator) |
void |
logout() |
void |
refreshCallback(RefreshableKeycloakSecurityContext securityContext) |
boolean |
restoreRequest() |
void |
saveAccountInfo(OidcKeycloakAccount account) |
void |
saveRequest() |
public ServletSessionTokenStore(io.undertow.server.HttpServerExchange exchange,
KeycloakDeployment deployment,
UndertowUserSessionManagement sessionManagement,
io.undertow.security.api.SecurityContext securityContext)
public void checkCurrentToken()
checkCurrentToken in interface AdapterTokenStorepublic boolean isCached(RequestAuthenticator authenticator)
isCached in interface AdapterTokenStorepublic void saveAccountInfo(OidcKeycloakAccount account)
saveAccountInfo in interface AdapterTokenStorepublic void logout()
logout in interface AdapterTokenStorepublic void refreshCallback(RefreshableKeycloakSecurityContext securityContext)
refreshCallback in interface AdapterTokenStorepublic void saveRequest()
saveRequest in interface AdapterSessionStorepublic boolean restoreRequest()
restoreRequest in interface AdapterSessionStoreprotected javax.servlet.http.HttpSession getSession(boolean create)
Copyright © 2020 JBoss by Red Hat. All rights reserved.