Enum Class AuthenticationType

java.lang.Object
java.lang.Enum<AuthenticationType>
org.apache.polaris.service.auth.AuthenticationType
All Implemented Interfaces:
Serializable, Comparable<AuthenticationType>, Constable

public enum AuthenticationType extends Enum<AuthenticationType>
  • Enum Constant Details

    • INTERNAL

      public static final AuthenticationType INTERNAL
      Polaris will be the only identity provider.
    • EXTERNAL

      public static final AuthenticationType EXTERNAL
      Polaris will delegate authentication to an external identity provider (e.g., Keycloak). The internal token endpoint will be deactivated.
    • MIXED

      public static final AuthenticationType MIXED
      Polaris will act as an identity provider, but it will also support external authentication. The internal token endpoint will be activated and will always be tried first. If the token issuer is not Polaris, the token will be passed to the external identity provider for validation.
  • Method Details

    • values

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