Interface TarantoolAuthenticator<T extends TarantoolCredentials>

    • Method Detail

      • canAuthenticateWith

        boolean canAuthenticateWith​(T credentials)
        Check if the passed instance of TarantoolCredentials can be used for authentication
        Parameters:
        credentials - Tarantool user credentials
        Returns:
        true if the credentials data are sufficient for performing authentication
      • canSkipAuth

        boolean canSkipAuth​(T credentials)
        Сheck if we can connect to the Tarantool without authentication
        Parameters:
        credentials - Tarantool user credentials
        Returns:
        true if the credentials are suitable so as not to use them for authentication