Enum Class Subject.Type

java.lang.Object
java.lang.Enum<Subject.Type>
org.elasticsearch.xpack.core.security.authc.Subject.Type
All Implemented Interfaces:
Serializable, Comparable<Subject.Type>, Constable
Enclosing class:
Subject

public static enum Subject.Type extends Enum<Subject.Type>
  • Enum Constant Details

    • USER

      public static final Subject.Type USER
    • API_KEY

      public static final Subject.Type API_KEY
    • CLOUD_API_KEY

      public static final Subject.Type CLOUD_API_KEY
    • SERVICE_ACCOUNT

      public static final Subject.Type SERVICE_ACCOUNT
    • CROSS_CLUSTER_ACCESS

      public static final Subject.Type CROSS_CLUSTER_ACCESS
  • Method Details

    • values

      public static Subject.Type[] 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 Subject.Type 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