public class JettySessionTokenStore extends Object implements AdapterTokenStore
Modifier and Type | Field and Description |
---|---|
protected KeycloakDeployment |
deployment |
protected AdapterSessionStore |
sessionStore |
Constructor and Description |
---|
JettySessionTokenStore(org.eclipse.jetty.server.Request request,
KeycloakDeployment deployment,
AdapterSessionStore sessionStore) |
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() |
protected KeycloakDeployment deployment
protected AdapterSessionStore sessionStore
public JettySessionTokenStore(org.eclipse.jetty.server.Request request, KeycloakDeployment deployment, AdapterSessionStore sessionStore)
public void checkCurrentToken()
checkCurrentToken
in interface AdapterTokenStore
public boolean isCached(RequestAuthenticator authenticator)
isCached
in interface AdapterTokenStore
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
public void saveRequest()
saveRequest
in interface AdapterSessionStore
public boolean restoreRequest()
restoreRequest
in interface AdapterSessionStore
Copyright © 2019 JBoss by Red Hat. All rights reserved.