Package com.nimbusds.common.id
Class UID
java.lang.Object
com.nimbusds.common.id.BaseIdentifier
com.nimbusds.common.id.UID
- All Implemented Interfaces:
Identifier
,Comparable<Identifier>
,net.minidev.json.JSONAware
Represents a user identifier (UID).
-
Field Summary
Fields inherited from class com.nimbusds.common.id.BaseIdentifier
DEFAULT_BYTE_LENGTH, SECURE_RANDOM
-
Constructor Summary
-
Method Summary
Methods inherited from class com.nimbusds.common.id.BaseIdentifier
compareTo, hashCode, toJSONString, toString
-
Constructor Details
-
UID
Creates a new user identifier (UID) with the specified value.- Parameters:
value
- The user identifier (UID) value. Must not benull
.
-
-
Method Details
-
equals
Description copied from class:BaseIdentifier
OverridesObject.equals()
.- Specified by:
equals
in classBaseIdentifier
- Parameters:
object
- The object to compare to.- Returns:
true
if the objects have the same value, otherwisefalse
.
-