public enum PicodataAuthMechanism extends Enum<PicodataAuthMechanism> implements AuthMechanism
Modifier and Type | Field and Description |
---|---|
static PicodataAuthMechanism |
DEFAULT
Default Picodata server authentication mechanism is MD5
|
Modifier and Type | Method and Description |
---|---|
TarantoolAuthenticator |
getAuthenticator()
Get authentication mechanism implementation
|
String |
getSignature()
Get authentication mechanism signature marker for the server
|
static PicodataAuthMechanism |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PicodataAuthMechanism[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PicodataAuthMechanism CHAPSHA1
public static final PicodataAuthMechanism MD5
public static PicodataAuthMechanism DEFAULT
public static PicodataAuthMechanism[] values()
for (PicodataAuthMechanism c : PicodataAuthMechanism.values()) System.out.println(c);
public static PicodataAuthMechanism 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.