java.lang.Object
java.lang.Enum<AccessControlEntryFlag>
org.cryptomator.frontend.dokany.internal.structure.filesecurity.AccessControlEntryFlag
All Implemented Interfaces:
Serializable, Comparable<AccessControlEntryFlag>, Constable, EnumInteger

public enum AccessControlEntryFlag extends Enum<AccessControlEntryFlag> implements EnumInteger
Enumeration of the different ACE control flags.

From the Microsoft documentation: An unsigned 8-bit integer that specifies a set of ACE type-specific control flags. This field can be a combination of the following values.

  • Enum Constant Details

    • CONTAINER_INHERIT_ACE

      public static final AccessControlEntryFlag CONTAINER_INHERIT_ACE
      Child objects that are containers, such as directories, inherit the ACE as an effective ACE. The inherited ACE is inheritable unless the NO_PROPAGATE_INHERIT_ACE bit flag is also set.
    • FAILED_ACCESS_ACE_FLAG

      public static final AccessControlEntryFlag FAILED_ACCESS_ACE_FLAG
      Used with system-audit ACEs in a system access control list (SACL) to generate audit messages for failed access attempts.
    • INHERIT_ONLY_ACE

      public static final AccessControlEntryFlag INHERIT_ONLY_ACE
      Indicates an inherit-only ACE, which does not control access to the object to which it is attached. If this flag is not set, the ACE is an effective ACE that controls access to the object to which it is attached. Both effective and inherit-only ACEs can be inherited depending on the state of the other inheritance flags.
    • INHERITED_ACE

      public static final AccessControlEntryFlag INHERITED_ACE
      Indicates that the ACE was inherited. The system sets this bit when it propagates an inherited ACE to a child object.
    • NO_PROPAGATE_INHERIT_ACE

      public static final AccessControlEntryFlag NO_PROPAGATE_INHERIT_ACE
      If the ACE is inherited by a child object, the system clears the OBJECT_INHERIT_ACE and CONTAINER_INHERIT_ACE flags in the inherited ACE. This prevents the ACE from being inherited by subsequent generations of objects.
    • OBJECT_INHERIT_ACE

      public static final AccessControlEntryFlag OBJECT_INHERIT_ACE
      Noncontainer child objects inherit the ACE as an effective ACE. For child objects that are containers, the ACE is inherited as an inherit-only ACE unless the NO_PROPAGATE_INHERIT_ACE bit flag is also set.
    • SUCCESSFUL_ACCESS_ACE_FLAG

      public static final AccessControlEntryFlag SUCCESSFUL_ACCESS_ACE_FLAG
      Used with system-audit ACEs in a SACL to generate audit messages for successful access attempts.
  • Method Details

    • values

      public static AccessControlEntryFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AccessControlEntryFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMask

      public int getMask()
      Specified by:
      getMask in interface EnumInteger