Enum Class AccessControlEntryFlag
java.lang.Object
java.lang.Enum<AccessControlEntryFlag>
org.cryptomator.frontend.dokany.internal.structure.filesecurity.AccessControlEntryFlag
- All Implemented Interfaces:
Serializable,Comparable<AccessControlEntryFlag>,Constable,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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChild objects that are containers, such as directories, inherit the ACE as an effective ACE.Used with system-audit ACEs in a system access control list (SACL) to generate audit messages for failed access attempts.Indicates an inherit-only ACE, which does not control access to the object to which it is attached.Indicates that the ACE was inherited.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.Noncontainer child objects inherit the ACE as an effective ACE.Used with system-audit ACEs in a SACL to generate audit messages for successful access attempts. -
Method Summary
Modifier and TypeMethodDescriptionintgetMask()static AccessControlEntryFlagReturns the enum constant of this class with the specified name.static AccessControlEntryFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Used with system-audit ACEs in a system access control list (SACL) to generate audit messages for failed access attempts. -
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
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
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
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
Used with system-audit ACEs in a SACL to generate audit messages for successful access attempts.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getMask
public int getMask()- Specified by:
getMaskin interfaceEnumInteger
-