issrg.pba.rbac
Class NowValidityPeriod

java.lang.Object
  extended by issrg.pba.rbac.SubsetCredentials
      extended by issrg.pba.rbac.DefaultValidityPeriodBehaviour
          extended by issrg.pba.rbac.RelativeValidityPeriod
              extended by issrg.pba.rbac.NowValidityPeriod
All Implemented Interfaces:
Credentials, ValidityPeriod, java.lang.Cloneable

public class NowValidityPeriod
extends RelativeValidityPeriod

This class represents a single point in time. This validity period has the same notBefore and notAfter times, which are equal to the current time as returned by the Clock.


Field Summary
 
Fields inherited from class issrg.pba.rbac.RelativeValidityPeriod
na, nb, notAfter, theClock, unlimited
 
Constructor Summary
NowValidityPeriod()
          This constructor creates a RelativeValidityPeriod with notBefore and notAfter times equal to the current time.
 
Method Summary
 
Methods inherited from class issrg.pba.rbac.RelativeValidityPeriod
clone, getNotAfter, getNotBefore, toString
 
Methods inherited from class issrg.pba.rbac.DefaultValidityPeriodBehaviour
contains, intersection
 
Methods inherited from class issrg.pba.rbac.SubsetCredentials
equals, union
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface issrg.pba.Credentials
union
 

Constructor Detail

NowValidityPeriod

public NowValidityPeriod()
This constructor creates a RelativeValidityPeriod with notBefore and notAfter times equal to the current time.

It is the same as to create a RelativeValidityPeriod with zeros for all notBefore and notAfter values.