issrg.aef
Class ObligationExample

java.lang.Object
  extended by 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

Constructor Summary
ObligationExample()
          Creates a new instance of ObligationExample
 
Method Summary
 boolean constructAction(java.lang.String actionName)
           
 boolean constructADF()
           
 boolean constructSubject(java.lang.String userDN, java.lang.String roleValue)
           
 boolean constructTarget(java.lang.String targetDN)
           
 Response consult()
           
 boolean loadPolicy(java.lang.String pathNameofPolicy)
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObligationExample

public ObligationExample()
Creates a new instance of ObligationExample

Method Detail

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