Package org.wildfly.clustering.web.sso
Interface Sessions<D,S>
-
- Type Parameters:
D- deployment identifier typeS- session identifier type
public interface Sessions<D,S>Represents the sessions per deployment for which a given user is authenticated.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddSession(D deployment, S session)Adds the specified web application and session identifier to the registry of authenticated web applications.Set<D>getDeployments()Returns the set of web applications for which the current user is authenticated.SgetSession(D deployment)Returns the corresponding session identifier for the specified web application.SremoveSession(D deployment)Removes the specified web application from the set of authenticated web applications.
-
-
-
Method Detail
-
getDeployments
Set<D> getDeployments()
Returns the set of web applications for which the current user is authenticated.- Returns:
- a set of web applications.
-
getSession
S getSession(D deployment)
Returns the corresponding session identifier for the specified web application.- Parameters:
application-- Returns:
-
removeSession
S removeSession(D deployment)
Removes the specified web application from the set of authenticated web applications.- Parameters:
application-
-
-