Class SpringSecurityTokenStore
java.lang.Object
org.keycloak.adapters.springsecurity.token.SpringSecurityTokenStore
- All Implemented Interfaces:
AdapterTokenStore,AdapterSessionStore
- Direct Known Subclasses:
SpringSecurityCookieTokenStore
Simple Spring
security context aware adapter token store.- Version:
- $Revision: 1 $
- Author:
- Scott Rossillo
-
Constructor Summary
ConstructorsConstructorDescriptionSpringSecurityTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisCached(RequestAuthenticator authenticator) voidlogout()voidrefreshCallback(RefreshableKeycloakSecurityContext securityContext) booleanvoidsaveAccountInfo(OidcKeycloakAccount account) void
-
Constructor Details
-
SpringSecurityTokenStore
public SpringSecurityTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
checkCurrentToken
public void checkCurrentToken()- Specified by:
checkCurrentTokenin interfaceAdapterTokenStore
-
isCached
- Specified by:
isCachedin interfaceAdapterTokenStore
-
saveAccountInfo
- Specified by:
saveAccountInfoin interfaceAdapterTokenStore
-
logout
public void logout()- Specified by:
logoutin interfaceAdapterTokenStore
-
refreshCallback
- Specified by:
refreshCallbackin interfaceAdapterTokenStore
-
saveRequest
public void saveRequest()- Specified by:
saveRequestin interfaceAdapterSessionStore
-
restoreRequest
public boolean restoreRequest()- Specified by:
restoreRequestin interfaceAdapterSessionStore
-