public static class SecurityOps.QUserId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domain |
private java.lang.String |
uid |
Constructor and Description |
---|
QUserId(ClientPrincipalResource cp)
Constructor.
|
QUserId(java.lang.String uid,
java.lang.String domain)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
public QUserId(java.lang.String uid, java.lang.String domain)
uid
- user iddomain
- domain namepublic QUserId(ClientPrincipalResource cp)
cp
- ClientPrincipal
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.