public final class MD5PicodataAuthenticator extends Object implements TarantoolAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static MD5PicodataAuthenticator |
INSTANCE
Singleton instance of this authenticator
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAuthenticateWith(TarantoolCredentials credentials)
Check if the passed instance of
SimpleTarantoolCredentials can be used for authentication |
boolean |
canSkipAuth(TarantoolCredentials credentials)
Check if the passed instance of
SimpleTarantoolCredentials is special limited user and
authentication can be skipped |
AuthMechanism |
getMechanism()
Returns the supported
PicodataAuthMechanism |
byte[] |
prepareUserAuthData(byte[] serverAuthData,
TarantoolCredentials credentials)
Take the salt from the server connect response, write the authentication data based on the provided
SimpleTarantoolCredentials. |
public static final MD5PicodataAuthenticator INSTANCE
public AuthMechanism getMechanism()
PicodataAuthMechanismgetMechanism in interface TarantoolAuthenticatorPicodataAuthMechanism.MD5AuthMechanismpublic boolean canAuthenticateWith(TarantoolCredentials credentials)
SimpleTarantoolCredentials can be used for authenticationcanAuthenticateWith in interface TarantoolAuthenticatorcredentials - Picodata user credentialspublic boolean canSkipAuth(TarantoolCredentials credentials)
SimpleTarantoolCredentials is special limited user and
authentication can be skippedcanSkipAuth in interface TarantoolAuthenticatorcredentials - Picodata user credentialspublic byte[] prepareUserAuthData(byte[] serverAuthData,
TarantoolCredentials credentials)
throws TarantoolAuthenticationException
SimpleTarantoolCredentials.prepareUserAuthData in interface TarantoolAuthenticatorserverAuthData - the auth data responded by server to the connect requestcredentials - Picodata user credentialsTarantoolAuthenticationException - id authentication failedCopyright © 2025 Picodata. All rights reserved.