|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPerson
| Field Summary | |
|---|---|
static int |
GUEST_ID
The user id for guest users. |
static int |
SYSTEM_USER_ID
The user id for the special system user. |
static int |
UNDEFINED_ID
The default ID for person objects. |
static String |
USERNAME
String used as a key for the eduPerson username attribute. |
| Method Summary | |
|---|---|
Object |
getAttribute(String key)
Gets an attribute associated with the user |
Enumeration<String> |
getAttributeNames()
Returns the names of all of the attributes stored for the user |
Enumeration<List<Object>> |
getAttributes()
Gets all of the attributes associated with the user |
Object[] |
getAttributeValues(String key)
Gets multiple values of an attribute associated with the user |
String |
getFullName()
Gets the full name of the user |
int |
getID()
Gets the ID of the user |
ISecurityContext |
getSecurityContext()
Gets the security context object associated with the user |
String |
getUserName()
|
boolean |
isGuest()
Checks to see if this user is considered a guest |
void |
setAttribute(String key,
List<Object> values)
|
void |
setAttribute(String key,
Object value)
Associates an attribute with the user |
void |
setAttributes(Map<String,List<Object>> attrs)
Associates attributes with the user |
void |
setEntityIdentifier(EntityIdentifier ei)
Explicitly set the entity identifier The default implementation enforces a one time setting so that the value can't be changed once explicitly set. |
void |
setFullName(String sFullName)
Sets the full name of the user |
void |
setID(int sID)
Sets the ID of the user |
void |
setSecurityContext(ISecurityContext securityContext)
Associates a security context object with the user |
void |
setUserName(String userName)
|
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Methods inherited from interface org.jasig.portal.IBasicEntity |
|---|
getEntityIdentifier |
| Field Detail |
|---|
static final String USERNAME
static final int UNDEFINED_ID
static final int GUEST_ID
static final int SYSTEM_USER_ID
| Method Detail |
|---|
void setID(int sID)
sID - int getID()
String getUserName()
void setUserName(String userName)
userName - The userName to set for the user.void setFullName(String sFullName)
sFullName - String getFullName()
Object getAttribute(String key)
key -
Object[] getAttributeValues(String key)
key -
void setAttribute(String key,
Object value)
key - value -
void setAttribute(String key,
List<Object> values)
key - values - void setAttributes(Map<String,List<Object>> attrs)
attrs - Enumeration<List<Object>> getAttributes()
Enumeration<String> getAttributeNames()
void setSecurityContext(ISecurityContext securityContext)
securityContext - ISecurityContext getSecurityContext()
boolean isGuest()
void setEntityIdentifier(EntityIdentifier ei)
ei -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||