Interface SingleSignOnSessionFactory
-
- All Known Implementing Classes:
DefaultSingleSignOnSessionFactory
public interface SingleSignOnSessionFactory
A factory for creatingSingleSignOnSession
instances.- Author:
- Pedro Igor, Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SingleSignOnSession
create(HttpServerRequest request, String mechanismName, boolean programmatic)
Creates a newSingleSignOnSession
for the specified request and authentication mechanism.SingleSignOnSession
find(String id, HttpServerRequest request)
Returns aSingleSignOnSession
instance associated with the specified identifier and request.
-
-
-
Method Detail
-
find
SingleSignOnSession find(String id, HttpServerRequest request)
Returns aSingleSignOnSession
instance associated with the specified identifier and request.- Parameters:
id
- the identifier to lookup the sessionrequest
- the current request- Returns:
- a
SingleSignOnSession
instance associated with the specified identifier and request, ornull
if there is no session with the given identifier
-
create
SingleSignOnSession create(HttpServerRequest request, String mechanismName, boolean programmatic)
Creates a newSingleSignOnSession
for the specified request and authentication mechanism.- Parameters:
request
- the current requestmechanismName
- the name of the authentication mechanismprogrammatic
-true
if the session if being created for programmatic authentication- Returns:
- a
SingleSignOnSession
instance associated with the specified identifier and request
-
-