|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.impl.base.cas.server.databaseAccess.accessors.PermissionsEvaluator
Checks for presence of policy in CAS database based on super user, group presence of user, action or object. These are only internal permissions and not used while assessing external policies.
| Constructor Summary | |
PermissionsEvaluator()
|
|
| Method Summary | |
static boolean |
hasPermissions(PolicyData policyData,
boolean ignoreSuperUser)
Returns true if the userGroup can perform actionSpec on objectSpec Algorithm If ignoreSuperUser is false - Check if the given userGroup has cas/superuser on casServer. |
static boolean |
userHasPermissions(java.lang.String userNick,
PolicyData policyData)
Method returns true if there is a policy in the CAS database that sematically is equivalent to the policy data. |
static boolean |
userHasPermissions(java.lang.String userNick,
PolicyData policyData,
boolean ignoreSuperUser)
Method returns true if there is a policy in the CAS databse that sematically is equivalent to the policy data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PermissionsEvaluator()
| Method Detail |
public static boolean userHasPermissions(java.lang.String userNick,
PolicyData policyData)
throws CasDBException
CasDBException
public static boolean userHasPermissions(java.lang.String userNick,
PolicyData policyData,
boolean ignoreSuperUser)
throws CasDBException
CasDBException
public static boolean hasPermissions(PolicyData policyData,
boolean ignoreSuperUser)
throws CasDBException
CasDBException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||