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)
SamlArtifactSessionMappingStoreProvider
put
in interface SamlArtifactSessionMappingStoreProvider
public SamlArtifactSessionMappingModel get(String artifact)
SamlArtifactSessionMappingStoreProvider
get
in interface SamlArtifactSessionMappingStoreProvider
null
if it does not exist.public void remove(String artifact)
SamlArtifactSessionMappingStoreProvider
remove
in interface SamlArtifactSessionMappingStoreProvider
Copyright © 2021 JBoss by Red Hat. All rights reserved.