Package org.wildfly.clustering.web.sso
Interface SSOManager<A,D,S,L,B extends Batch>
-
- Type Parameters:
A- the authentication identity typeD- the deployment identifier typeS- the session identifier typeL- the local context typeB- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSO<A,D,S,L>createSSO(String ssoId, A authentication)Creates a new single sign on entry.Sessions<D,S>findSessionsContaining(S session)Searches for the sessions of the single sign on entry containing the specified session.SSO<A,D,S,L>findSSO(String ssoId)Returns the single sign on entry identified by the specified identifier.Batcher<B>getBatcher()A mechanism for starting/stopping a batch.Supplier<String>getIdentifierFactory()Returns the identifier factory of this SSO manager.-
Methods inherited from interface org.wildfly.clustering.ee.Restartable
start, stop
-
-
-
-
Method Detail
-
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.
-
-