Interface SqlAuthentication

All Superinterfaces:
AuthenticationProvider

public interface SqlAuthentication extends AuthenticationProvider
Factory interface for creating AuthenticationProvider instances that use the Vert.x SQL client.
Author:
Paulo Lopes
  • Method Details

    • create

      static SqlAuthentication create(SqlClient client)
      Create a JDBC auth provider implementation
      Parameters:
      client - the JDBC client instance
      Returns:
      the auth provider
    • create

      static SqlAuthentication create(SqlClient client, SqlAuthenticationOptions options)
      Create a JDBC auth provider implementation
      Parameters:
      client - the JDBC client instance
      options - authentication options
      Returns:
      the auth provider
    • hash

      String hash(String id, Map<String,String> params, String salt, String password)
      Hashes a password to be stored.

      See:

      invalid reference
      io.vertx.ext.auth.HashingStrategy#hash(String, Map, String, String)
    • hash

      default String hash(String id, String salt, String password)
      Hashes a password to be stored.

      See:

      invalid reference
      io.vertx.ext.auth.HashingStrategy#hash(String, Map, String, String)