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()
Sessions
getApplications
in interface Sessions
public String getSession(WebApplication application)
Sessions
getSession
in interface Sessions
public void removeSession(WebApplication application)
Sessions
removeSession
in interface Sessions
public void addSession(WebApplication application, String id)
Sessions
addSession
in interface Sessions
application
- a web applicationid
- a session identifierCopyright © 2013 JBoss by Red Hat. All rights reserved.