com.iplanet.sso
Interface SSOTokenID
- public interface SSOTokenID
The SSOTokenID
class is used to identify a single sign on token
object. It contains a random string and the name of the server.
The random string in the SSOTokenID
is unique on a given
server.
- See Also:
SSOToken
Method Summary |
boolean |
equals(java.lang.Object object)
Compares this SSOTokenID to the specified object. |
int |
hashCode()
Returns a hash code for this object. |
java.lang.String |
toString()
This method returns the encrypted SSO token string. |
toString
public java.lang.String toString()
- This method returns the encrypted SSO token string.
- Overrides:
toString
in class java.lang.Object
- Returns:
- An encrypted SSO token string
equals
public boolean equals(java.lang.Object object)
- Compares this
SSOTokenID
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.
- Overrides:
equals
in class java.lang.Object
- Parameters:
object
- The object to compare this SSOTokenID
against.- Returns:
- true if the
SSOTokenID
are equal.
hashCode
public int hashCode()
- Returns a hash code for this object.
- Overrides:
hashCode
in class java.lang.Object
- Returns:
- a hash code value for this object.
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.