issrg.test.pmi
Class PMITest
java.lang.Object
issrg.pba.rbac.Time
issrg.pba.rbac.Clock
issrg.test.rbac.PermisRBACTest
issrg.test.pmi.PMITest
- All Implemented Interfaces:
- java.lang.Comparable
public class PMITest
- extends PermisRBACTest
This class sets up a PMI test using input files like for PermisRBACTest,
but first a xml: URL Handler is registered and a XMLAuthTokenParser is
set.
Method Summary |
PermisRBAC |
init(java.util.Map setup,
java.io.File parentDir)
This method is called to create a PermisRBAC object using the current
setup. |
static void |
main(java.lang.String[] args)
|
void |
setInitValue(java.util.Map setup,
java.lang.String var,
java.lang.String val)
This method is called to set init values for Permis RBAC in this test. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PMITest
public PMITest()
main
public static void main(java.lang.String[] args)
init
public PermisRBAC init(java.util.Map setup,
java.io.File parentDir)
throws java.lang.Exception
- Description copied from class:
PermisRBACTest
- This method is called to create a PermisRBAC object using the current
setup. After this the work of PermisRBAC object will be tested using
the standard methods to getCreds and decision.
- Overrides:
init
in class PermisRBACTest
- Parameters:
setup
- the Map of values collected prior to initparentDir
- the directory in which the config file is located
and all relative paths should be computed relative to it
- Throws:
java.lang.Exception
setInitValue
public void setInitValue(java.util.Map setup,
java.lang.String var,
java.lang.String val)
throws PbaException
- Description copied from class:
PermisRBACTest
- This method is called to set init values for Permis RBAC in this test.
The strings are guaranteed to be intern() values, so they can be
compared using ==, which is faster.
- Overrides:
setInitValue
in class PermisRBACTest
- Throws:
PbaException