public class SpringSecurityCookieTokenStore extends SpringSecurityTokenStore
SpringSecurityTokenStore that stores the obtains tokens in a cookie.| Constructor and Description |
|---|
SpringSecurityCookieTokenStore(KeycloakDeployment deployment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCurrentToken() |
boolean |
isCached(RequestAuthenticator authenticator) |
void |
logout() |
void |
refreshCallback(RefreshableKeycloakSecurityContext securityContext) |
void |
saveAccountInfo(OidcKeycloakAccount account) |
restoreRequest, saveRequestpublic SpringSecurityCookieTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void checkCurrentToken()
checkCurrentToken in interface AdapterTokenStorecheckCurrentToken in class SpringSecurityTokenStorepublic boolean isCached(RequestAuthenticator authenticator)
isCached in interface AdapterTokenStoreisCached in class SpringSecurityTokenStorepublic void refreshCallback(RefreshableKeycloakSecurityContext securityContext)
refreshCallback in interface AdapterTokenStorerefreshCallback in class SpringSecurityTokenStorepublic void saveAccountInfo(OidcKeycloakAccount account)
saveAccountInfo in interface AdapterTokenStoresaveAccountInfo in class SpringSecurityTokenStorepublic void logout()
logout in interface AdapterTokenStorelogout in class SpringSecurityTokenStoreCopyright © 2019 JBoss by Red Hat. All rights reserved.