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, saveRequest
public SpringSecurityCookieTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void checkCurrentToken()
checkCurrentToken
in interface AdapterTokenStore
checkCurrentToken
in class SpringSecurityTokenStore
public boolean isCached(RequestAuthenticator authenticator)
isCached
in interface AdapterTokenStore
isCached
in class SpringSecurityTokenStore
public void refreshCallback(RefreshableKeycloakSecurityContext securityContext)
refreshCallback
in interface AdapterTokenStore
refreshCallback
in class SpringSecurityTokenStore
public void saveAccountInfo(OidcKeycloakAccount account)
saveAccountInfo
in interface AdapterTokenStore
saveAccountInfo
in class SpringSecurityTokenStore
public void logout()
logout
in interface AdapterTokenStore
logout
in class SpringSecurityTokenStore
Copyright © 2021 JBoss by Red Hat. All rights reserved.