public class InfinispanSamlArtifactSessionMappingStoreProvider extends Object implements SamlArtifactSessionMappingStoreProvider
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
InfinispanSamlArtifactSessionMappingStoreProvider(Supplier<org.infinispan.commons.api.BasicCache<UUID,String[]>> actionKeyCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SamlArtifactSessionMappingModel |
get(String artifact)
This method returns session mapping associated with the given
|
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 parameter
|
void |
remove(String artifact)
Removes data for the given from the store
|
public void put(String artifact, int lifespanSeconds, AuthenticatedClientSessionModel clientSessionModel)
SamlArtifactSessionMappingStoreProviderput in interface SamlArtifactSessionMappingStoreProviderpublic SamlArtifactSessionMappingModel get(String artifact)
SamlArtifactSessionMappingStoreProviderget in interface SamlArtifactSessionMappingStoreProvidernull if it does not exist.public void remove(String artifact)
SamlArtifactSessionMappingStoreProviderremove in interface SamlArtifactSessionMappingStoreProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.