Interface SSOManager<A,D,S,L,B extends Batch>

Type Parameters:
A - the authentication identity type
D - the deployment identifier type
S - the session identifier type
L - the local context type
B - the batch type
All Superinterfaces:
Restartable

public interface SSOManager<A,D,S,L,B extends Batch> extends Restartable
The SSO equivalent of a session manager.
Author:
Paul Ferraro
  • Method Details

    • createSSO

      SSO<A,D,S,L> createSSO(String ssoId, A authentication)
      Creates a new single sign on entry.
      Parameters:
      ssoId - a unique SSO identifier
      Returns:
      a new SSO.
    • findSSO

      SSO<A,D,S,L> findSSO(String ssoId)
      Returns the single sign on entry identified by the specified identifier.
      Parameters:
      ssoId - a unique SSO identifier
      Returns:
      an existing SSO, or null, if no SSO was found
    • findSessionsContaining

      Sessions<D,S> findSessionsContaining(S session)
      Searches for the sessions of the single sign on entry containing the specified session.
      Parameters:
      sessionId - a unique session identifier
      Returns:
      an existing sessions of an SSO, or null, if no SSO was found
    • getBatcher

      Batcher<B> getBatcher()
      A mechanism for starting/stopping a batch.
      Returns:
      a batching mechanism.
    • getIdentifierFactory

      Supplier<String> getIdentifierFactory()
      Returns the identifier factory of this SSO manager.
      Returns:
      an identifier factory