Interface SingleSignOnSessionFactory

All Known Implementing Classes:
DefaultSingleSignOnSessionFactory

public interface SingleSignOnSessionFactory
A factory for creating SingleSignOnSession instances.
Author:
Pedro Igor, Paul Ferraro
  • Method Details

    • find

      Returns a SingleSignOnSession instance associated with the specified identifier and request.
      Parameters:
      id - the identifier to lookup the session
      request - the current request
      Returns:
      a SingleSignOnSession instance associated with the specified identifier and request, or null if there is no session with the given identifier
    • create

      SingleSignOnSession create(HttpServerRequest request, String mechanismName, boolean programmatic)
      Creates a new SingleSignOnSession for the specified request and authentication mechanism.
      Parameters:
      request - the current request
      mechanismName - the name of the authentication mechanism
      programmatic - true if the session if being created for programmatic authentication
      Returns:
      a SingleSignOnSession instance associated with the specified identifier and request