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 than ActionTokenStoreProvider, however it may reuse some components (eg. same infinispan cache)
    Author:
    mhajas
    • 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 null if it does not exist.
      • remove

        void remove​(String artifact)
        Removes data for the given {@param artifact} from the store
        Parameters:
        artifact -