| Constructor and Description |
|---|
CoarseSessions(Map<WebApplication,String> sessions,
Mutator mutator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(WebApplication application,
String id)
Adds the specified web application and session identifier to the registry of authenticated web applications.
|
Set<WebApplication> |
getApplications()
Returns the set of web applications for which the current user is authenticated.
|
String |
getSession(WebApplication application)
Returns the corresponding session identifier for the specified web application.
|
void |
removeSession(WebApplication application)
Removes the specified web application from the set of authenticated web applications.
|
public CoarseSessions(Map<WebApplication,String> sessions, Mutator mutator)
public Set<WebApplication> getApplications()
SessionsgetApplications in interface Sessionspublic String getSession(WebApplication application)
SessionsgetSession in interface Sessionspublic void removeSession(WebApplication application)
SessionsremoveSession in interface Sessionspublic void addSession(WebApplication application, String id)
SessionsaddSession in interface Sessionsapplication - a web applicationid - a session identifierCopyright © 2013 JBoss by Red Hat. All rights reserved.