Class ArtifactCacheService

java.lang.Object
swiss.trustbroker.common.saml.service.ArtifactCacheService

public class ArtifactCacheService extends Object
Holds a SAMLArtifactMap needed to store SAML objects for the SAML artifact binding
  • Constructor Details

    • ArtifactCacheService

      public ArtifactCacheService(Optional<org.opensaml.storage.StorageService> storageService, Duration artifactLifetime, Duration cleanupInterval)
  • Method Details

    • getArtifactMap

      public org.opensaml.saml.common.binding.artifact.SAMLArtifactMap getArtifactMap()
    • retrieveArtifact

      public Optional<org.opensaml.saml.common.SAMLObject> retrieveArtifact(String artifactId)
    • removeArtifact

      public void removeArtifact(String artifactId)