Interface SingleSignOnSessionFactory
- All Known Implementing Classes:
DefaultSingleSignOnSessionFactory
public interface SingleSignOnSessionFactory
A factory for creating
SingleSignOnSession instances.- Author:
- Pedro Igor, Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptioncreate(HttpServerRequest request, String mechanismName, boolean programmatic) Creates a newSingleSignOnSessionfor the specified request and authentication mechanism.find(String id, HttpServerRequest request) Returns aSingleSignOnSessioninstance associated with the specified identifier and request.
-
Method Details
-
find
Returns aSingleSignOnSessioninstance associated with the specified identifier and request.- Parameters:
id- the identifier to lookup the sessionrequest- the current request- Returns:
- a
SingleSignOnSessioninstance associated with the specified identifier and request, ornullif there is no session with the given identifier
-
create
Creates a newSingleSignOnSessionfor the specified request and authentication mechanism.- Parameters:
request- the current requestmechanismName- the name of the authentication mechanismprogrammatic-trueif the session if being created for programmatic authentication- Returns:
- a
SingleSignOnSessioninstance associated with the specified identifier and request
-