|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.session.SessionId
Contains a provider id, security domain name, and a hash.
| Method Summary | |
boolean |
equals(Object object)
Indicates whether some other object is "equal to" this session id. |
String |
getHash()
Returns the hash portion of this session id. |
static SessionId |
getInstance(String id)
Creates a SessionId with the specified id. |
static SessionId |
getInstance(String providerId,
String securityDomainName,
String hash)
Creates a SessionId with the specified provider id, security domain name, and hash. |
String |
getProviderId()
Returns the id of the provider that contained the security domain that created this session id |
String |
getSecurityDomainName()
Returns the name of the security domain that created this session id |
int |
hashCode()
Returns a hash code value for this object. |
String |
toString()
Returns a String with the following representation |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static SessionId getInstance(String id)
throws MalformedSessionIdException
id - contains the provider id, security domain name, and hash
MalformedSessionIdException
public static SessionId getInstance(String providerId,
String securityDomainName,
String hash)
throws MalformedSessionIdException
providerId - the id of the provider that contained the security
domain that created this session idsecurityDomainName - the name of the security domain that created
this session idhash - contains a hash of data
MalformedSessionIdExceptionpublic String getProviderId()
public String getSecurityDomainName()
public String getHash()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectobject - the object with which to compare
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||