issrg.test.dis
Class PermisRBACDISTest
java.lang.Object
issrg.pba.rbac.Time
issrg.pba.rbac.Clock
issrg.test.dis.PermisRBACDISTest
- All Implemented Interfaces:
- java.lang.Comparable
public class PermisRBACDISTest
- extends Clock
- Author:
- __USER__
Method Summary |
static void |
doIssuing(java.lang.String path)
|
java.util.Date |
getTime()
This method returns the time returned by the last call to latch, so all
calculations
will be consistent. |
java.util.Date |
latch()
This method gets the actual time and keeps it for later reference. |
static void |
main(java.lang.String[] args)
|
void |
setTime(java.util.Date time)
|
static void |
testPDP(java.lang.String[] args)
|
static java.util.Date |
toTime(java.lang.String timeString)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
test
protected static TestDS test
PermisRBACDISTest
public PermisRBACDISTest()
- Creates a new instance of PermisRBACDISTest
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
- the command line arguments
- Throws:
java.lang.Exception
doIssuing
public static void doIssuing(java.lang.String path)
testPDP
public static void testPDP(java.lang.String[] args)
latch
public java.util.Date latch()
- Description copied from class:
Clock
- This method gets the actual time and keeps it for later reference.
Subsequent
calls to getTime will return the same value (needed in operations extended
in time).
- Specified by:
latch
in class Clock
- Returns:
- the current time
getTime
public java.util.Date getTime()
- Description copied from class:
Clock
- This method returns the time returned by the last call to latch, so all
calculations
will be consistent.
- Specified by:
getTime
in class Clock
- Returns:
- the time returned by the last call to latch
toTime
public static java.util.Date toTime(java.lang.String timeString)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
setTime
public void setTime(java.util.Date time)