|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.user.UserDescriptor
public class UserDescriptor
Light weight representation of a user defined in the system. User has a unique userid that may be used to login and to identify the user in the system.
Field Summary | |
---|---|
static String |
OBJECT_TYPE
|
Constructor Summary | |
---|---|
UserDescriptor()
Zero-arg constructor for a UserDescriptor. |
|
UserDescriptor(String userId)
|
|
UserDescriptor(String identifier,
String userId,
String principalId,
String principalName)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getDisplayName()
Get the displayName of this UserDescriptor. |
String |
getEmail()
Get the email of this userDescriptor. |
String |
getIdentifier()
Get the identifier of this UserDescriptor. |
String |
getObjectType()
Get the objectType of this userDescriptor. |
String |
getPrincipalId()
Get the principalId of this userDescriptor. |
String |
getPrincipalName()
Get the principal name of this userDescriptor. |
String |
getUserId()
Get the userId of this UserDescriptor. |
int |
hashCode()
Return a hash code value for the object. |
void |
setDisplayName(String displayName)
Set the displayName of this UserDescriptor. |
void |
setEmail(String email)
Set the email value for this userDescriptor. |
void |
setIdentifier(String identifier)
Deprecated. |
void |
setObjectType(String objectType)
Deprecated. |
void |
setPrincipalId(String principalId)
Deprecated. |
void |
setPrincipalName(String principalName)
Deprecated. |
void |
setUserId(String userId)
Deprecated. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OBJECT_TYPE
Constructor Detail |
---|
public UserDescriptor()
public UserDescriptor(String userId)
public UserDescriptor(String identifier, String userId, String principalId, String principalName)
Method Detail |
---|
public String getIdentifier()
getIdentifier
in interface Identifiable
@Deprecated public void setIdentifier(String identifier)
identifier
- the identifier value to set on this UserDescriptor.public String getUserId()
@Deprecated public void setUserId(String userId)
userId
- the userId to setpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the displayName to setpublic String getEmail()
public void setEmail(String email)
email
- the email to setpublic String getObjectType()
getObjectType
in interface Identifiable
@Deprecated public void setObjectType(String objectType)
objectType
- the objectType to setpublic String getPrincipalId()
getPrincipalId
in interface AclPrincipal
@Deprecated public void setPrincipalId(String principalId)
principalId
- the principalId to setpublic String getPrincipalName()
getPrincipalName
in interface AclPrincipal
@Deprecated public void setPrincipalName(String principalName)
principalName
- The principal name value to set on this userDescriptor.public int hashCode()
hashCode
in interface AclPrincipal
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in interface AclPrincipal
equals
in class Object
obj
- to be compared
true
if the objects are equal, false
otherwiseObject.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |