public enum PermissionMatchingStrategy extends Enum<PermissionMatchingStrategy>
Enum Constant and Description |
---|
ALL
All authorities must match in order to pass the policy evaluation
|
ANY
Only a single authority must match in order to pass the policy evaluation
|
Modifier and Type | Method and Description |
---|---|
static PermissionMatchingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionMatchingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionMatchingStrategy ALL
public static final PermissionMatchingStrategy ANY
public static PermissionMatchingStrategy[] values()
for (PermissionMatchingStrategy c : PermissionMatchingStrategy.values()) System.out.println(c);
public static PermissionMatchingStrategy 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. All rights reserved.