|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cafesoft.cams.session.SessionId
public class 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 |
getClusterName()
Returns the name of the cluster that contained the security domain that created 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 clusterName,
String serverName,
String securityDomainName,
String hash)
Creates a SessionId with the specified provider id, security domain name, and hash. |
String |
getSecurityDomainName()
Returns the name of the security domain that created this session id |
String |
getServerName()
Returns the name of the server that contained 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 clusterName,
String serverName,
String securityDomainName,
String hash)
throws MalformedSessionIdException
clusterName - the name of the associated Cams cluster.serverName - the name of the associated Cams policy server.securityDomainName - the name of the security domain that created
this session idhash - contains a hash of data
MalformedSessionIdExceptionpublic String getClusterName()
public String getServerName()
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 | |||||||||