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 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 secContext)
refreshCallback
in interface AdapterTokenStore
protected KeycloakPrincipal<RefreshableKeycloakSecurityContext> checkPrincipalFromCookie()
public void saveRequest()
saveRequest
in interface AdapterSessionStore
public boolean restoreRequest()
restoreRequest
in interface AdapterSessionStore
Copyright © 2019 JBoss by Red Hat. All rights reserved.