public enum CombinationPolicy extends Enum<CombinationPolicy>
Enum Constant and Description |
---|
PERMISSIVE
If multiple permissions for the same action exist, if any of them allow the action
the action should be allowed.
|
REJECTING
If multiple permissions for the same action exist an exception should be thrown and the action should not
be allowed.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CombinationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CombinationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombinationPolicy PERMISSIVE
public static final CombinationPolicy REJECTING
public static CombinationPolicy[] values()
for (CombinationPolicy c : CombinationPolicy.values()) System.out.println(c);
public static CombinationPolicy 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 nullpublic String toString()
toString
in class Enum<CombinationPolicy>
Copyright © 2023 JBoss by Red Hat. All rights reserved.