public enum RealmPolicy extends Enum<RealmPolicy>
Enum Constant and Description |
---|
ADDITIVE
Executed additionally if at least one of the previous authentication provider has succeeded
|
SUFFICIENT
Executed in the start of the authentication chain before any other built-in authentication realms (Ldap, Internal etc.)
When authentication succeeds, all other built-in realms are skipped.
|
Modifier and Type | Method and Description |
---|---|
static RealmPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealmPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealmPolicy SUFFICIENT
public static final RealmPolicy ADDITIVE
public static RealmPolicy[] values()
for (RealmPolicy c : RealmPolicy.values()) System.out.println(c);
public static RealmPolicy 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 © 2017. All rights reserved.