|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object br.ufsc.das.policyenforcement.PolicyEnforcer
public abstract class PolicyEnforcer
Base class for all tuple space policies.
Constructor Summary | |
---|---|
PolicyEnforcer()
|
Method Summary | |
---|---|
boolean |
canExecuteCas(int invoker,
DepTuple template,
DepTuple tuple)
Executed in CAS operations to define the access permission |
boolean |
canExecuteInp(int invoker,
DepTuple template)
Executed in remove operations (in or inp) to define the access permission |
boolean |
canExecuteOut(int invoker,
DepTuple tuple)
Executed in OUT operations to define the access permission |
boolean |
canExecuteRdp(int invoker,
DepTuple template)
Executed in read operations (rdp or rd) to define the access permission |
java.util.List<DepTuple> |
getTuples()
Read all tuples from the local space |
void |
setLayer(PolicyEnforcementLayer layer)
Sets the policy enforcer layer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyEnforcer()
Method Detail |
---|
public void setLayer(PolicyEnforcementLayer layer)
public java.util.List<DepTuple> getTuples()
public boolean canExecuteOut(int invoker, DepTuple tuple)
public boolean canExecuteRdp(int invoker, DepTuple template)
public boolean canExecuteInp(int invoker, DepTuple template)
public boolean canExecuteCas(int invoker, DepTuple template, DepTuple tuple)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |