public class UserSessionContext extends Object implements SessionContext<String,String,String>
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(Session<String,String> session)
Adds the session to the context.
|
static SessionContext<String,String,String> |
getInstance()
Returns the field
instance. |
Session<String,String> |
getSession(String id)
Gets the session from the given id.
|
void |
removeSession(String id)
Removes the session from the context.
|
public static SessionContext<String,String,String> getInstance()
instance.instance.public void addSession(Session<String,String> session)
addSession in interface SessionContext<String,String,String>session - the sessionSessionContext.addSession(net.sourceforge.jaulp.auth.interfaces.Session)public Session<String,String> getSession(String id)
getSession in interface SessionContext<String,String,String>id - the idSessionContext.getSession(Object)public void removeSession(String id)
removeSession in interface SessionContext<String,String,String>id - the id from the session to be removed.SessionContext.removeSession(Object)Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.