Enum EnumEvalReason

  • All Implemented Interfaces:
    Serializable, Comparable<EnumEvalReason>

    public enum EnumEvalReason
    extends Enum<EnumEvalReason>
    This class provides an enumeration of the reasons why an ACI evaluation returned a result from the AciHandler's testApplicableLists call. This class is used by a geteffectiverights aclRightsInfo attribute search to build a summary string.
    • Enum Constant Detail

      • NO_ALLOW_ACIS

        public static final EnumEvalReason NO_ALLOW_ACIS
        There are aren't any allow ACIs.
      • EVALUATED_DENY_ACI

        public static final EnumEvalReason EVALUATED_DENY_ACI
        An deny ACI either evaluated to FAIL or to TRUE.
      • EVALUATED_ALLOW_ACI

        public static final EnumEvalReason EVALUATED_ALLOW_ACI
        An allow evaluated to true.
      • NO_MATCHED_ALLOWS_ACIS

        public static final EnumEvalReason NO_MATCHED_ALLOWS_ACIS
        None of the allow and deny ACIs evaluated to true.
      • NO_REASON

        public static final EnumEvalReason NO_REASON
        No specific reason could be determined.
      • SKIP_ACI

        public static final EnumEvalReason SKIP_ACI
        The authorization DN has bypass-acl privileges.
    • Method Detail

      • values

        public static EnumEvalReason[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EnumEvalReason c : EnumEvalReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EnumEvalReason valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null