public interface SqlAuthentication extends AuthenticationProvider
AuthenticationProvider
instances that use the Vert.x SQL client.Modifier and Type | Method and Description |
---|---|
static SqlAuthentication |
create(SqlClient client)
Create a JDBC auth provider implementation
|
static SqlAuthentication |
create(SqlClient client,
SqlAuthenticationOptions options)
Create a JDBC auth provider implementation
|
String |
hash(String id,
Map<String,String> params,
String salt,
String password)
Hashes a password to be stored.
|
default String |
hash(String id,
String salt,
String password)
Hashes a password to be stored.
|
authenticate, authenticate, authenticate, authenticate
static SqlAuthentication create(SqlClient client)
client
- the JDBC client instancestatic SqlAuthentication create(SqlClient client, SqlAuthenticationOptions options)
client
- the JDBC client instanceoptions
- authentication optionsString hash(String id, Map<String,String> params, String salt, String password)
HashingStrategy.hash(String, Map, String, String)
default String hash(String id, String salt, String password)
HashingStrategy.hash(String, Map, String, String)
Copyright © 2021 Eclipse. All rights reserved.