issrg.test.dis
Class PermisRBACDISTest

java.lang.Object
  extended by issrg.pba.rbac.Time
      extended by issrg.pba.rbac.Clock
          extended by issrg.test.dis.PermisRBACDISTest
All Implemented Interfaces:
java.lang.Comparable

public class PermisRBACDISTest
extends Clock

Author:
__USER__

Field Summary
protected static TestDS test
           
 
Fields inherited from class issrg.pba.rbac.Time
log, s_defaultTimeZone, TIME_TYPE
 
Constructor Summary
PermisRBACDISTest()
          Creates a new instance of PermisRBACDISTest
 
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 issrg.pba.rbac.Clock
getEvaluationTime
 
Methods inherited from class issrg.pba.rbac.Time
calendarToTime, calendarToTime, compareTo, equals, getDefaultTimeZone, parse, register, setDefaultTimeZone, setDefaultTimeZone, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

test

protected static TestDS test
Constructor Detail

PermisRBACDISTest

public PermisRBACDISTest()
Creates a new instance of PermisRBACDISTest

Method Detail

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)