Package io.milton.resource
Enum Class AccessControlledResource.Priviledge
java.lang.Object
java.lang.Enum<AccessControlledResource.Priviledge>
io.milton.resource.AccessControlledResource.Priviledge
- All Implemented Interfaces:
Serializable,Comparable<AccessControlledResource.Priviledge>,Constable
- Enclosing interface:
- AccessControlledResource
public static enum AccessControlledResource.Priviledge
extends Enum<AccessControlledResource.Priviledge>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionREAD permits all other READ operationsREAD the content of resources, but this does not permit reading PROPFIND (milton extension)Permits PROPFIND (milton extension)Includes all other WRITE privs -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AccessControlledResource.Priviledge[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_CONTENT
READ the content of resources, but this does not permit reading PROPFIND (milton extension) -
READ_PROPERTIES
Permits PROPFIND (milton extension) -
READ_CURRENT_USER_PRIVILEDGE
-
READ_ACL
-
READ
READ permits all other READ operations -
WRITE_PROPERTIES
-
WRITE_CONTENT
-
WRITE_ACL
-
UNLOCK
-
WRITE
Includes all other WRITE privs -
BIND
-
UNBIND
-
ALL
-
-
Field Details
-
contains
-
-
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
-