|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.edm.services.security.SecurityManager
Read roles config xml
Field Summary | |
static java.lang.String |
AND
|
static java.lang.String |
OR
|
Method Summary | |
java.lang.String[] |
getAllRoles()
Retrieve all defined roles. |
static SecurityManager |
getInstance()
Gets the instance attribute of the SecurityManager class. |
java.lang.String[] |
getOperations(UserProfile userprofile)
Retrieve all valid operations for a specified userprofile. |
java.util.ArrayList |
getOperationsforRole(java.lang.String roleName)
Retrieve all valid operations for a specified role name. |
static SecurityManager |
init()
Initialize the Security Manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String AND
public static final java.lang.String OR
Method Detail |
public java.lang.String[] getAllRoles()
public static SecurityManager getInstance()
public java.lang.String[] getOperations(UserProfile userprofile)
userprofile
- User profile for the current user.public java.util.ArrayList getOperationsforRole(java.lang.String roleName) throws java.lang.Exception
roleName
- Role name whose operations will be returned.
java.lang.Exception
- if an error is encountered.public static SecurityManager init() throws java.lang.Exception
java.lang.Exception
- if obtaining/initializing the instance failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.