Class ArtifactStorageService
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
org.opensaml.storage.AbstractStorageService
swiss.trustbroker.sessioncache.service.ArtifactStorageService
- All Implemented Interfaces:
net.shibboleth.shared.component.Component,net.shibboleth.shared.component.DestructableComponent,net.shibboleth.shared.component.IdentifiableComponent,net.shibboleth.shared.component.IdentifiedComponent,net.shibboleth.shared.component.InitializableComponent,org.opensaml.storage.StorageCapabilities,org.opensaml.storage.StorageService
public class ArtifactStorageService
extends org.opensaml.storage.AbstractStorageService
Minimal implementation with only methods used by OpenSAML StorageServiceSAMLArtifactMap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArtifactStorageService(ArtifactCacheRepository repository, Clock clock, Duration cleanupInterval, MetricsService metricsService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoiddeleteContext(String context) booleandeleteWithVersion(long version, String context, String key) protected TimerTaskintbooleanboolean<T> org.opensaml.storage.StorageRecord<T> <T> net.shibboleth.shared.collection.Pair<Long, org.opensaml.storage.StorageRecord<T>> voidbooleanvoidupdateContextExpiration(String context, Long expiration) booleanupdateExpiration(String context, String key, Long expiration) updateWithVersion(long version, String context, String key, String value, Long expiration) Methods inherited from class org.opensaml.storage.AbstractStorageService
create, create, delete, deleteWithVersion, doDestroy, doInitialize, getCapabilities, getCleanupInterval, getCleanupTaskTimer, getContextSize, getValueSize, read, setCleanupInterval, setCleanupTaskTimer, setContextSize, setKeySize, setValueSize, update, update, updateExpiration, updateWithVersion, updateWithVersionMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Field Details
-
metricsService
-
-
Constructor Details
-
ArtifactStorageService
public ArtifactStorageService(ArtifactCacheRepository repository, Clock clock, Duration cleanupInterval, MetricsService metricsService)
-
-
Method Details
-
getCleanupTask
- Overrides:
getCleanupTaskin classorg.opensaml.storage.AbstractStorageService
-
getKeySize
public int getKeySize()- Specified by:
getKeySizein interfaceorg.opensaml.storage.StorageCapabilities- Overrides:
getKeySizein classorg.opensaml.storage.AbstractStorageService
-
isServerSide
public boolean isServerSide() -
isClustered
public boolean isClustered() -
create
-
read
-
read
-
update
-
updateWithVersion
-
updateExpiration
-
delete
-
deleteWithVersion
-
reap
-
updateContextExpiration
-
deleteContext
-