public class SpringSecurityTokenStore extends Object implements AdapterTokenStore
security context
aware adapter token store
.Constructor and Description |
---|
SpringSecurityTokenStore(KeycloakDeployment deployment,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
checkCurrentToken() |
boolean |
isCached(RequestAuthenticator authenticator) |
void |
logout() |
void |
refreshCallback(RefreshableKeycloakSecurityContext securityContext) |
boolean |
restoreRequest() |
void |
saveAccountInfo(OidcKeycloakAccount account) |
void |
saveRequest() |
public SpringSecurityTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request)
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 securityContext)
refreshCallback
in interface AdapterTokenStore
public void saveRequest()
saveRequest
in interface AdapterSessionStore
public boolean restoreRequest()
restoreRequest
in interface AdapterSessionStore
Copyright © 2021 JBoss by Red Hat. All rights reserved.