Package org.apache.polaris.service.auth
Enum Class AuthenticationType
- All Implemented Interfaces:
Serializable,Comparable<AuthenticationType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationTypeReturns the enum constant of this class with the specified name.static AuthenticationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERNAL
Polaris will be the only identity provider. -
EXTERNAL
Polaris will delegate authentication to an external identity provider (e.g., Keycloak). The internal token endpoint will be deactivated. -
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
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
-