public static enum ResourceServer.PolicyEnforcementMode extends Enum<ResourceServer.PolicyEnforcementMode>
| Enum Constant and Description |
|---|
DISABLED
Completely disables the evaluation of policies and allow access to any resource.
|
ENFORCING
Requests are denied by default even when there is no policy associated with a given resource.
|
PERMISSIVE
Requests are allowed even when there is no policy associated with a given resource.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceServer.PolicyEnforcementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceServer.PolicyEnforcementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceServer.PolicyEnforcementMode ENFORCING
public static final ResourceServer.PolicyEnforcementMode PERMISSIVE
public static final ResourceServer.PolicyEnforcementMode DISABLED
public static ResourceServer.PolicyEnforcementMode[] values()
for (ResourceServer.PolicyEnforcementMode c : ResourceServer.PolicyEnforcementMode.values()) System.out.println(c);
public static ResourceServer.PolicyEnforcementMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 JBoss by Red Hat. All rights reserved.