|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.edm.control.UserProfile
Constructor Summary | |
UserProfile(java.lang.String userName,
HttpServletRequest request)
Constructor |
Method Summary | |
java.lang.String[] |
getOperations()
Retrieves all operations for the roles assigned to a UserProfile instance. |
java.lang.String[] |
getRoles()
Retrieves all the roles assigned to a UserProfile instance |
java.lang.String |
getUserName()
Returns the mUserName attribute for a UserProfile instance. |
boolean |
isAllowed(java.lang.String operation)
Checks if an operation is allowed for a UserProfile instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserProfile(java.lang.String userName, HttpServletRequest request) throws java.lang.Exception
userName
- User name.request
- HTTP request handle.
java.lang.Exception
- if an error is encounteredMethod Detail |
public java.lang.String[] getOperations()
public java.lang.String[] getRoles()
public java.lang.String getUserName()
public boolean isAllowed(java.lang.String operation)
operation
- This is the name of the operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.