public enum PolicyEnforcementMode extends Enum<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 PolicyEnforcementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyEnforcementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyEnforcementMode ENFORCING
public static final PolicyEnforcementMode PERMISSIVE
public static final PolicyEnforcementMode DISABLED
public static PolicyEnforcementMode[] values()
for (PolicyEnforcementMode c : PolicyEnforcementMode.values()) System.out.println(c);
public static 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 © 2021 JBoss by Red Hat. All rights reserved.