vertx-auth-sql-client
instead.
Factory interface for creating AuthenticationProvider
instances that use the Vert.x JDBC client.
By default the hashing strategy is SHA-512. If you're already running in production this is backwards
compatible, however for new deployments or security upgrades it is recommended to use the PBKDF2 strategy
as it is the current OWASP recommendation for password storage.@Deprecated public interface JDBCAuthentication extends AuthenticationProvider
Modifier and Type | Method and Description |
---|---|
static JDBCAuthentication |
create(JDBCClient client,
JDBCAuthenticationOptions options)
Deprecated.
Create a JDBC auth provider implementation
|
static JDBCAuthentication |
create(JDBCClient client,
JDBCHashStrategy hashStrategy,
JDBCAuthenticationOptions options)
Deprecated.
This factory is only for backwards compatibility
|
String |
hash(String id,
Map<String,String> params,
String salt,
String password)
Deprecated.
Hashes a password to be stored.
|
default String |
hash(String id,
String salt,
String password)
Deprecated.
Hashes a password to be stored.
|
authenticate, authenticate, authenticate, authenticate
@Deprecated static JDBCAuthentication create(JDBCClient client, JDBCHashStrategy hashStrategy, JDBCAuthenticationOptions options)
client
- the JDBC client instanceoptions
- authentication optionshashStrategy
- legacy hashing strategystatic JDBCAuthentication create(JDBCClient client, JDBCAuthenticationOptions 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 © 2023 Eclipse. All rights reserved.