Class LockDate

  • All Implemented Interfaces:
    Validator

    public class LockDate
    extends Object
    implements Validator
    This class performs lock date validation for Constraint. This validator will ensure the current date falls outside Constraint.getBeginLockDate() and Constraint.getEndLockDate() range. The idea is an entity can be barred from activation for a particular blackout period, i.e. vacation, leave of absence, etc. The data format requires YYYYMMDD, i.e. 20110101 for January 1, 2011. The constant GlobalIds.NONE may be used to disable checks for a particular entity.

    Constraint Targets include

    1. User maps to 'ftCstr' attribute on 'ftUserAttrs' object class
    2. UserRole maps to 'ftRC' attribute on 'ftUserAttrs' object class
    3. Role maps to 'ftCstr' attribute on 'ftRls' object class
    4. AdminRole maps to 'ftCstr' attribute on 'ftRls' object class
    5. UserAdminRole maps to 'ftARC' attribute on 'ftRls' object class

    Author:
    Apache Directory Project