Package com.iplanet.sso.providers.dpro
Class SSOTokenIDImpl
- java.lang.Object
-
- com.iplanet.sso.providers.dpro.SSOTokenIDImpl
-
- All Implemented Interfaces:
SSOTokenID
public class SSOTokenIDImpl extends Object implements SSOTokenID
This classSSOTokenIDImpl
implements the interfaceSSOTokenID
and is used to identify aSSOToken
object. It contains a random String and which is unique on a given SSOToken server.- See Also:
SSOToken
-
-
Constructor Summary
Constructors Constructor Description SSOTokenIDImpl(SessionID sid)
Creates a SSOTokenIDImpl object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Compares this SessionID to the specified object.int
hashCode()
Returns a hash code for this object.String
toString()
This method returns the encrypted sso token string.
-
-
-
Method Detail
-
toString
public String toString()
This method returns the encrypted sso token string.- Specified by:
toString
in interfaceSSOTokenID
- Overrides:
toString
in classObject
- Returns:
- An encrypted sso token string.
-
equals
public boolean equals(Object object)
Compares this SessionID to the specified object. The result is true if and only if the argument is not null and the random string and server name are the same in both objects.- Specified by:
equals
in interfaceSSOTokenID
- Overrides:
equals
in classObject
- Parameters:
an
- Object - the object to compare this SessionID against.- Returns:
- true if the SessionID are equal; false otherwise.
-
hashCode
public int hashCode()
Returns a hash code for this object.- Specified by:
hashCode
in interfaceSSOTokenID
- Overrides:
hashCode
in classObject
- Returns:
- a hash code value for this object.
-
-