Class SpringSecurityAdapterTokenStoreFactory
- java.lang.Object
-
- org.keycloak.adapters.springsecurity.token.SpringSecurityAdapterTokenStoreFactory
-
- All Implemented Interfaces:
AdapterTokenStoreFactory
public class SpringSecurityAdapterTokenStoreFactory extends Object implements AdapterTokenStoreFactory
AdapterTokenStoreFactorythat returns a newSpringSecurityTokenStorefor each request.- Author:
- Scott Rossillo
-
-
Constructor Summary
Constructors Constructor Description SpringSecurityAdapterTokenStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdapterTokenStorecreateAdapterTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Method Detail
-
createAdapterTokenStore
public AdapterTokenStore createAdapterTokenStore(KeycloakDeployment deployment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Description copied from interface:AdapterTokenStoreFactory- Specified by:
createAdapterTokenStorein interfaceAdapterTokenStoreFactory- Parameters:
deployment- theKeycloakDeployment(required)request- the currentHttpServletRequest(required)response- the currentHttpServletResponse(required when using cookies)- Returns:
- a new
AdapterTokenStorefor the givendeployment,requestandresponse
-
-