|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.security.provider.RestrictedPerson
public class RestrictedPerson
An IPerson object that wraps another IPerson object and prevents access to the underlying sercurity context.
| Field Summary | |
|---|---|
private IPerson |
person
|
| 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()
RestrictedPerson's implementation of getSecurityContext prevents access to the security context by always returning null. |
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 |
setAttributes(java.util.Map attrs)
Associates attributes 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)
RestrictedPerson's implementation of setSecurityContext does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IPerson person
| Constructor Detail |
|---|
public RestrictedPerson(IPerson person)
| Method Detail |
|---|
public java.lang.Object getAttribute(java.lang.String key)
IPerson
getAttribute in interface IPersonpublic java.lang.Object[] getAttributeValues(java.lang.String key)
IPerson
getAttributeValues in interface IPersonpublic java.util.Enumeration getAttributeNames()
IPerson
getAttributeNames in interface IPersonpublic java.util.Enumeration getAttributes()
IPerson
getAttributes in interface IPersonpublic java.lang.String getFullName()
IPerson
getFullName in interface IPersonpublic int getID()
IPerson
getID in interface IPersonpublic boolean isGuest()
IPerson
isGuest in interface IPerson
public void setAttribute(java.lang.String key,
java.lang.Object value)
IPerson
setAttribute in interface IPersonpublic void setAttributes(java.util.Map attrs)
IPerson
setAttributes in interface IPersonpublic void setFullName(java.lang.String sFullName)
IPerson
setFullName in interface IPersonpublic void setID(int sID)
IPerson
setID in interface IPersonpublic ISecurityContext getSecurityContext()
getSecurityContext in interface IPersonpublic void setSecurityContext(ISecurityContext securityContext)
setSecurityContext in interface IPersonpublic EntityIdentifier getEntityIdentifier()
getEntityIdentifier in interface IBasicEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||