|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.security.provider.RestrictedPerson
An IPerson object that wraps another IPerson object and prevents access to the underlying sercurity context.
Field Summary |
Fields inherited from interface org.jasig.portal.security.IPerson |
USERNAME |
Constructor Summary | |
RestrictedPerson(IPerson person)
|
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String key)
Gets an attribute associated with the user |
java.util.Enumeration |
getAttributeNames()
Returns the names of all of the attributes stored for the user |
java.util.Enumeration |
getAttributes()
Gets all of the attributes associated with the user |
java.lang.Object[] |
getAttributeValues(java.lang.String key)
Gets multiple values of an attribute associated with the user |
EntityIdentifier |
getEntityIdentifier()
|
java.lang.String |
getFullName()
Gets the full name of the user |
int |
getID()
Gets the ID of the user |
ISecurityContext |
getSecurityContext()
Prevents access to the security context |
boolean |
isGuest()
Checks to see if this user is considered a guest |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Associates an attribute with the user |
void |
setFullName(java.lang.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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RestrictedPerson(IPerson person)
Method Detail |
public java.lang.Object getAttribute(java.lang.String key)
IPerson
getAttribute
in interface IPerson
key
-
public java.lang.Object[] getAttributeValues(java.lang.String key)
IPerson
getAttributeValues
in interface IPerson
key
-
public java.util.Enumeration getAttributeNames()
IPerson
getAttributeNames
in interface IPerson
public java.util.Enumeration getAttributes()
IPerson
getAttributes
in interface IPerson
public java.lang.String getFullName()
IPerson
getFullName
in interface IPerson
public int getID()
IPerson
getID
in interface IPerson
public boolean isGuest()
IPerson
isGuest
in interface IPerson
public void setAttribute(java.lang.String key, java.lang.Object value)
IPerson
setAttribute
in interface IPerson
key
- value
- public void setFullName(java.lang.String sFullName)
IPerson
setFullName
in interface IPerson
sFullName
- public void setID(int sID)
IPerson
setID
in interface IPerson
sID
- public ISecurityContext getSecurityContext()
getSecurityContext
in interface IPerson
public void setSecurityContext(ISecurityContext securityContext)
IPerson
setSecurityContext
in interface IPerson
securityContext
- public EntityIdentifier getEntityIdentifier()
getEntityIdentifier
in interface IBasicEntity
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |