Class Day

  • All Implemented Interfaces:
    Validator

    public class Day
    extends Object
    implements Validator
    This class performs lock day of week validation for Constraint. This validator will ensure the current day is allowed for Constraint.getDayMask(). The data format requires 1234567 for Sun, Mon, Tue, Wed, Thur, Fri, Sat, Sun respectively. i.e. 23456 will allow entity to activated Monday - Friday. The constant GlobalIds.ALL 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