public enum TarantoolAuthMechanism extends Enum<TarantoolAuthMechanism> implements AuthMechanism
Enum Constant and Description |
---|
CHAPSHA1 |
Modifier and Type | Field and Description |
---|---|
static TarantoolAuthMechanism |
DEFAULT
Default Tarantool server authentication mechanism is CHAPSHA1
|
Modifier and Type | Method and Description |
---|---|
TarantoolAuthenticator |
getAuthenticator()
Get authentication mechanism implementation
|
String |
getSignature()
Get authentication mechanism signature marker for the server
|
static TarantoolAuthMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TarantoolAuthMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TarantoolAuthMechanism CHAPSHA1
public static TarantoolAuthMechanism DEFAULT
public static TarantoolAuthMechanism[] values()
for (TarantoolAuthMechanism c : TarantoolAuthMechanism.values()) System.out.println(c);
public static TarantoolAuthMechanism valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSignature()
AuthMechanism
getSignature
in interface AuthMechanism
public TarantoolAuthenticator getAuthenticator()
AuthMechanism
getAuthenticator
in interface AuthMechanism
Copyright © 2025 Picodata. All rights reserved.