|
||||||||||
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
Represents the type name of a User object. |
Constructor Summary | |
---|---|
UserDescriptor()
Zero-arg constructor for a UserDescriptor. |
|
UserDescriptor(String userId)
Constructor |
|
UserDescriptor(String identifier,
String userId,
String principalId,
String principalName)
Constructor |
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. |
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)
userId
- the user id of this userpublic UserDescriptor(String identifier, String userId, String principalId, String principalName)
identifier
- the unique identifier of this useruserId
- the user id of this userprincipalId
- the principal identifier of this userprincipalName
- the principal name of this userMethod Detail |
---|
public String getIdentifier()
getIdentifier
in interface Identifiable
public String getUserId()
public 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
public String getPrincipalId()
getPrincipalId
in interface AclPrincipal
public String getPrincipalName()
getPrincipalName
in interface AclPrincipal
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 |