issrg.aef
Class ObligationExample
java.lang.Object
issrg.aef.ObligationExample
public class ObligationExample
- extends java.lang.Object
This class provides a running example for using PERMIS with obligations. This is used by
Gansen for testing obligation implementation only.
- Author:
- gansen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObligationExample
public ObligationExample()
- Creates a new instance of ObligationExample
loadPolicy
public boolean loadPolicy(java.lang.String pathNameofPolicy)
constructADF
public boolean constructADF()
constructSubject
public boolean constructSubject(java.lang.String userDN,
java.lang.String roleValue)
constructAction
public boolean constructAction(java.lang.String actionName)
constructTarget
public boolean constructTarget(java.lang.String targetDN)
consult
public Response consult()
throws PbaException
- Throws:
PbaException
test
public void test()
- Parameters:
args
- the command line arguments