Enum Class RealmPolicy

java.lang.Object
java.lang.Enum<RealmPolicy>
org.artifactory.security.RealmPolicy
All Implemented Interfaces:
Serializable, Comparable<RealmPolicy>, Constable

public enum RealmPolicy extends Enum<RealmPolicy>
Defines the plugin realm authentication policy
Since:
4.1.0
Author:
Shay Yaakov
  • Enum Constant Details

    • SUFFICIENT

      public static final RealmPolicy 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

      public static final RealmPolicy ADDITIVE
      Executed additionally if at least one of the previous authentication provider has succeeded
  • Method Details

    • values

      public static RealmPolicy[] 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

      public static RealmPolicy valueOf(String name)
      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 name
      NullPointerException - if the argument is null