public class JettyCookieTokenStore extends Object implements AdapterTokenStore
| Constructor and Description |
|---|
JettyCookieTokenStore(org.eclipse.jetty.server.Request request,
HttpFacade facade,
KeycloakDeployment deployment) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCurrentToken() |
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> |
checkPrincipalFromCookie()
Verify if we already have authenticated and active principal in cookie.
|
boolean |
isCached(RequestAuthenticator authenticator) |
void |
logout() |
void |
refreshCallback(RefreshableKeycloakSecurityContext secContext) |
boolean |
restoreRequest() |
void |
saveAccountInfo(OidcKeycloakAccount account) |
void |
saveRequest() |
public JettyCookieTokenStore(org.eclipse.jetty.server.Request request,
HttpFacade facade,
KeycloakDeployment deployment)
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 secContext)
refreshCallback in interface AdapterTokenStoreprotected KeycloakPrincipal<RefreshableKeycloakSecurityContext> checkPrincipalFromCookie()
public void saveRequest()
saveRequest in interface AdapterSessionStorepublic boolean restoreRequest()
restoreRequest in interface AdapterSessionStoreCopyright © 2020 JBoss by Red Hat. All rights reserved.