*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.session
Class SummaryData
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.sas.services.session.SummaryData
- All Implemented Interfaces:
SummaryDataInterface,Serializable,Remote
@SASScope("ALL")
@BinaryCompatibilityOnly
public class SummaryData
extends UnicastRemoteObject
implements SummaryDataInterface
Contains session summary information. Each session context can be bound to a
user context. This information contains the unique identifier for the
session context, as well as a summary of the user information, such as the
user context name, the user's email addresses, and the user's global profile.
- Since:
- 1.1
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Method Summary
Modifier and TypeMethodDescriptionListGet the email addresses for the person bound to this session.longGet the timestamp when the user was authenticated.Get the global profile information for the person bound to this session.StringGet the session context's unique id.StringGet the user's unique identifier.StringGet the name of the user context for this session.Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLogMethods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStubMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Method Details
-
getProfile
Get the global profile information for the person bound to this session.- Specified by:
getProfilein interfaceSummaryDataInterface- Returns:
ProfileInterfacethe global profile- Throws:
RemoteException- if a network error occurs.
-
getUsername
public String getUsername() throws RemoteExceptionGet the name of the user context for this session.- Specified by:
getUsernamein interfaceSummaryDataInterface- Returns:
Stringthe user context name- Throws:
RemoteException- if a network error occurs.
-
getEmailAddresses
public List getEmailAddresses() throws RemoteExceptionGet the email addresses for the person bound to this session.- Specified by:
getEmailAddressesin interfaceSummaryDataInterface- Returns:
Lista list of Strings that represent the email addresses.- Throws:
RemoteException- if a network error occurs.
-
getLoginTime
public long getLoginTime() throws RemoteExceptionGet the timestamp when the user was authenticated.- Specified by:
getLoginTimein interfaceSummaryDataInterface- Returns:
- A long representing the login date/time.
- Throws:
RemoteException- In the event of remote object failure.
-
getUniqueId
public String getUniqueId() throws RemoteExceptionGet the user's unique identifier. Since names aren't always unique, this is necessary to uniquely locate a user context from the user service.- Specified by:
getUniqueIdin interfaceSummaryDataInterface- Returns:
- A String representing the user's unique identifier.
- Throws:
RemoteException- In the event of remote object failure.
-
getSessionContextUniqueId
public String getSessionContextUniqueId() throws RemoteExceptionGet the session context's unique id.- Specified by:
getSessionContextUniqueIdin interfaceSummaryDataInterface- Returns:
- A String representing the session context's unique identifier.
- Throws:
RemoteException- In the event of remote object failure.
-