Interface SingleSignOnSessionFactory
-
- All Known Implementing Classes:
DefaultSingleSignOnSessionFactory
public interface SingleSignOnSessionFactoryA factory for creatingSingleSignOnSessioninstances.- Author:
- Pedro Igor, Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingleSignOnSessioncreate(HttpServerRequest request, String mechanismName, boolean programmatic)Creates a newSingleSignOnSessionfor the specified request and authentication mechanism.SingleSignOnSessionfind(String id, HttpServerRequest request)Returns aSingleSignOnSessioninstance associated with the specified identifier and request.
-
-
-
Method Detail
-
find
SingleSignOnSession find(String id, HttpServerRequest request)
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
SingleSignOnSession create(HttpServerRequest request, String mechanismName, boolean programmatic)
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
-
-