public interface TarantoolAuthenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAuthenticateWith(TarantoolCredentials credentials)
Check if the passed instance of
TarantoolCredentials can be used for authentication |
boolean |
canSkipAuth(TarantoolCredentials credentials)
Сheck if we can connect to the Tarantool without authentication
|
AuthMechanism |
getMechanism()
Provides the authentication mechanism signature
|
byte[] |
prepareUserAuthData(byte[] serverAuthData,
TarantoolCredentials credentials)
Takes the server auth data returned in response for the connect request and user auth data, performs
the necessary transformations and writes the serialized authentication data to a byte array
|
AuthMechanism getMechanism()
AuthMechanismboolean canAuthenticateWith(TarantoolCredentials credentials)
TarantoolCredentials can be used for authenticationcredentials - Tarantool user credentialstrue if the credentials data are sufficient for performing authenticationboolean canSkipAuth(TarantoolCredentials credentials)
credentials - Tarantool user credentialstrue if the credentials are suitable so as not to use them for authenticationbyte[] prepareUserAuthData(byte[] serverAuthData,
TarantoolCredentials credentials)
throws TarantoolAuthenticationException
serverAuthData - bytes with auth data from the Tarantool server greetingcredentials - Tarantool user credentialsTarantoolAuthenticationException - id authentication failedCopyright © 2025 Picodata. All rights reserved.