| java.lang.Object com.rift.coad.lib.interceptor.credentials.Credential com.rift.coad.lib.interceptor.credentials.Session
Session | public class Session extends Credential (Code) | | This credential object represents and active session for a user.
author: Brett Chaldecott |
Constructor Summary | |
public | Session() | public | Session(String username, String sessionId, Set principals) This constructor is responsible for setting the session id and principals
information. |
Session | public Session()(Code) | | Creates a new instance of Session
|
Session | public Session(String username, String sessionId, Set principals)(Code) | | This constructor is responsible for setting the session id and principals
information.
Parameters: username - The name of the user. Parameters: sessionId - The id for this session. Parameters: principals - The list of principals. |
getPrincipals | public Set getPrincipals()(Code) | | This method returns a list of principals.
The list of principals. |
getSessionId | public String getSessionId()(Code) | | This method returns the id of this session.
The id of this session. |
setPrincipals | public void setPrincipals(Set principals)(Code) | | This method sets the principals for a session
Parameters: principals - The set of principals to apply |
setSessionId | public void setSessionId(String sessionId)(Code) | | This method sets the session id.
Parameters: sessionId - The id of the session to set. |
|
|