Interface SqlAuthentication

    • Method Detail

      • create

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

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

        See: 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: io.vertx.ext.auth.HashingStrategy#hash(String, Map, String, String)