Package org.artifactory.security
Enum Class RealmPolicy
- All Implemented Interfaces:
Serializable
,Comparable<RealmPolicy>
,Constable
Defines the plugin realm authentication policy
- Since:
- 4.1.0
- Author:
- Shay Yaakov
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExecuted additionally if at least one of the previous authentication provider has succeededExecuted 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. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealmPolicy
Returns the enum constant of this class with the specified name.static RealmPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. This is the default behavior -
ADDITIVE
Executed additionally if at least one of the previous authentication provider has succeeded
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-