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