|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.cms.security.PortalCMSSecurityContext
public class PortalCMSSecurityContext
An implementation of SecurityContext for the core Portal Engine
Constructor Summary | |
---|---|
PortalCMSSecurityContext(User portalUser)
|
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns value corresponding to the specified attribute name |
java.lang.String[] |
getAttributeNames()
Returns an array of Strings consisting of all keys/names stored in the context |
java.lang.Object |
getIdentity()
This method returns the Identity of the user logged into the portal. |
void |
removeAttribute(java.lang.String name)
Removes the specified attribute |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a specified value corresponding to the specified name in the context |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortalCMSSecurityContext(User portalUser)
Method Detail |
---|
public java.lang.Object getIdentity()
public java.lang.Object getAttribute(java.lang.String name)
name
-
public void setAttribute(java.lang.String name, java.lang.Object value)
name
- value
- public void removeAttribute(java.lang.String name)
name
- public java.lang.String[] getAttributeNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |