|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object br.ufsc.das.policyenforcement.PolicyEnforcementLayer
public class PolicyEnforcementLayer
Policy enforcer layer. this layer verify the access permission.
Constructor Summary | |
---|---|
PolicyEnforcementLayer(DepSpaceServer upperLayer,
java.lang.String policy)
Creates a new instance of PolicyEnforcementLayer |
Method Summary | |
---|---|
DepTuple |
cas(DepTuple template,
DepTuple tuple,
Context ctx)
If the returned value is null, then the tuple was inserted. |
void |
clean(DepTuple tuple,
Context ctx)
|
java.util.List<DepTuple> |
getTuples()
|
DepTuple |
in(DepTuple template,
Context ctx)
Must never be called!!! |
DepTuple |
inp(DepTuple template,
Context ctx)
|
void |
out(DepTuple tuple,
Context ctx)
|
DepTuple |
rd(DepTuple template,
Context ctx)
Must never be called!!! |
DepTuple |
rdp(DepTuple template,
Context ctx)
|
java.lang.Object |
signedRD(DepTuple template,
Context ctx)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyEnforcementLayer(DepSpaceServer upperLayer, java.lang.String policy) throws DepSpaceException
DepSpaceException
Method Detail |
---|
public void out(DepTuple tuple, Context ctx) throws DepSpaceException
out
in interface DepSpace
DepSpaceException
public DepTuple rdp(DepTuple template, Context ctx) throws DepSpaceException
rdp
in interface DepSpace
DepSpaceException
public DepTuple inp(DepTuple template, Context ctx) throws DepSpaceException
inp
in interface DepSpace
DepSpaceException
public DepTuple cas(DepTuple template, DepTuple tuple, Context ctx) throws DepSpaceException
DepSpace
cas
in interface DepSpace
DepSpaceException
public java.lang.Object signedRD(DepTuple template, Context ctx) throws DepSpaceException
signedRD
in interface DepSpaceServer
DepSpaceException
public void clean(DepTuple tuple, Context ctx) throws DepSpaceException
clean
in interface DepSpaceServer
DepSpaceException
public java.util.List<DepTuple> getTuples() throws DepSpaceException
getTuples
in interface DepSpaceServer
DepSpaceException
public DepTuple rd(DepTuple template, Context ctx) throws DepSpaceException
rd
in interface DepSpace
DepSpaceException
public DepTuple in(DepTuple template, Context ctx) throws DepSpaceException
in
in interface DepSpace
DepSpaceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |