|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.security.acl.AccessControlList.AccessControlEnvironment
Field Summary | |
private java.util.List |
messages
This list receives the messages from all not granted permissions |
private Principal |
principal
The principal that controls all access |
Constructor Summary | |
AccessControlList.AccessControlEnvironment(Principal principal,
java.util.List messages)
|
Method Summary | |
AccessToken |
getAccess(Permission permission)
Checks if the current principal is granted the given permission |
boolean |
isGranted(AccessToken token)
Wandelt das übergebene Objekt in einen Boolean Wert um |
AccessToken |
not(AccessToken token)
Negiert den übergebenen Operanden |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Principal principal
private java.util.List messages
Constructor Detail |
public AccessControlList.AccessControlEnvironment(Principal principal, java.util.List messages)
principal
- List notGrantedmessages
- This list receives the messages from all not granted
permissionsMethod Detail |
public AccessToken getAccess(Permission permission) throws ExecutionException
ExecutionEnvironment
getAccess
in interface ExecutionEnvironment
permission
- The permission to check
ExecutionException
- Wird im Falle eines allgemeinen Fehlers geworfenExecutionEnvironment.getAccess(com.cc.framework.security.Permission)
public boolean isGranted(AccessToken token) throws ExecutionException
ExecutionEnvironment
isGranted
in interface ExecutionEnvironment
token
- Das umzuwandelnde Objekt
ExecutionException
- Wird geworfen wenn eine Typkonvertierung nicht möglich istExecutionEnvironment.isGranted(com.cc.framework.security.acl.expr.AccessToken)
public AccessToken not(AccessToken token) throws ExecutionException
ExecutionEnvironment
not
in interface ExecutionEnvironment
token
- Der Operand
ExecutionException
- Wird geworfen wenn die Berechnung Aufgrund des Typs nicht
möglich istExecutionEnvironment.not(com.cc.framework.security.acl.expr.AccessToken)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |