Package org.keycloak.models
Interface SamlArtifactSessionMappingStoreProvider
-
- All Superinterfaces:
Provider
public interface SamlArtifactSessionMappingStoreProvider extends Provider
Provides cache for session mapping for SAML artifacts. For now, it is separate provider as it's a bit different use-case thanActionTokenStoreProvider, however it may reuse some components (eg. same infinispan cache)- Author:
- mhajas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SamlArtifactSessionMappingModelget(String artifact)This method returns session mapping associated with the given {@param artifact}voidput(String artifact, int lifespanSeconds, AuthenticatedClientSessionModel clientSessionModel)Stores the given data and guarantees that data should be available in the store for at least the time specified by {@param lifespanSeconds} parametervoidremove(String artifact)Removes data for the given {@param artifact} from the store
-
-
-
Method Detail
-
put
void put(String artifact, int lifespanSeconds, AuthenticatedClientSessionModel clientSessionModel)
Stores the given data and guarantees that data should be available in the store for at least the time specified by {@param lifespanSeconds} parameter- Parameters:
artifact-lifespanSeconds-clientSessionModel-
-
get
SamlArtifactSessionMappingModel get(String artifact)
This method returns session mapping associated with the given {@param artifact}- Parameters:
artifact-- Returns:
- session mapping corresponding to given artifact or
nullif it does not exist.
-
remove
void remove(String artifact)
Removes data for the given {@param artifact} from the store- Parameters:
artifact-
-
-