Package io.milton.resource
Enum AccessControlledResource.Priviledge
- java.lang.Object
-
- java.lang.Enum<AccessControlledResource.Priviledge>
-
- io.milton.resource.AccessControlledResource.Priviledge
-
- All Implemented Interfaces:
Serializable,Comparable<AccessControlledResource.Priviledge>
- Enclosing interface:
- AccessControlledResource
public static enum AccessControlledResource.Priviledge extends Enum<AccessControlledResource.Priviledge>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLBINDREADREAD permits all other READ operationsREAD_ACLREAD_CONTENTREAD the content of resources, but this does not permit reading PROPFIND (milton extension)READ_CURRENT_USER_PRIVILEDGEREAD_PROPERTIESPermits PROPFIND (milton extension)UNBINDUNLOCKWRITEIncludes all other WRITE privsWRITE_ACLWRITE_CONTENTWRITE_PROPERTIES
-
Field Summary
Fields Modifier and Type Field Description List<AccessControlledResource.Priviledge>contains
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccessControlledResource.PriviledgevalueOf(String name)Returns the enum constant of this type with the specified name.static AccessControlledResource.Priviledge[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_CONTENT
public static final AccessControlledResource.Priviledge READ_CONTENT
READ the content of resources, but this does not permit reading PROPFIND (milton extension)
-
READ_PROPERTIES
public static final AccessControlledResource.Priviledge READ_PROPERTIES
Permits PROPFIND (milton extension)
-
READ_CURRENT_USER_PRIVILEDGE
public static final AccessControlledResource.Priviledge READ_CURRENT_USER_PRIVILEDGE
-
READ_ACL
public static final AccessControlledResource.Priviledge READ_ACL
-
READ
public static final AccessControlledResource.Priviledge READ
READ permits all other READ operations
-
WRITE_PROPERTIES
public static final AccessControlledResource.Priviledge WRITE_PROPERTIES
-
WRITE_CONTENT
public static final AccessControlledResource.Priviledge WRITE_CONTENT
-
WRITE_ACL
public static final AccessControlledResource.Priviledge WRITE_ACL
-
UNLOCK
public static final AccessControlledResource.Priviledge UNLOCK
-
WRITE
public static final AccessControlledResource.Priviledge WRITE
Includes all other WRITE privs
-
BIND
public static final AccessControlledResource.Priviledge BIND
-
UNBIND
public static final AccessControlledResource.Priviledge UNBIND
-
ALL
public static final AccessControlledResource.Priviledge ALL
-
-
Field Detail
-
contains
public List<AccessControlledResource.Priviledge> contains
-
-
Method Detail
-
values
public static AccessControlledResource.Priviledge[] 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 (AccessControlledResource.Priviledge c : AccessControlledResource.Priviledge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessControlledResource.Priviledge 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 nameNullPointerException- if the argument is null
-
-