public static enum AuthorizePolicy.PolicyType extends java.lang.Enum<AuthorizePolicy.PolicyType>
| Enum Constant and Description |
|---|
ALLOW_ACL |
ALLOW_ON_NO_RULE |
ALLOW_ROLE |
DENY_ACL |
DENY_ON_NO_RULE |
NO_MATCHING_RULE |
SUPER_GROUP |
SUPER_USER |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accessGranted() |
static AuthorizePolicy.PolicyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizePolicy.PolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizePolicy.PolicyType SUPER_USER
public static final AuthorizePolicy.PolicyType SUPER_GROUP
public static final AuthorizePolicy.PolicyType ALLOW_ON_NO_RULE
public static final AuthorizePolicy.PolicyType DENY_ON_NO_RULE
public static final AuthorizePolicy.PolicyType ALLOW_ACL
public static final AuthorizePolicy.PolicyType DENY_ACL
public static final AuthorizePolicy.PolicyType ALLOW_ROLE
public static final AuthorizePolicy.PolicyType NO_MATCHING_RULE
public static final AuthorizePolicy.PolicyType UNKNOWN
public static AuthorizePolicy.PolicyType[] values()
for (AuthorizePolicy.PolicyType c : AuthorizePolicy.PolicyType.values()) System.out.println(c);
public static AuthorizePolicy.PolicyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean accessGranted()