public class SqlAuthentication extends AuthenticationProvider
AuthenticationProvider
instances that use the Vert.x SQL client.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<SqlAuthentication> |
__TYPE_ARG |
Constructor and Description |
---|
SqlAuthentication(Object delegate) |
SqlAuthentication(SqlAuthentication delegate) |
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
|
boolean |
equals(Object o) |
SqlAuthentication |
getDelegate() |
String |
hash(String id,
Map<String,String> params,
String salt,
String password)
Hashes a password to be stored.
|
String |
hash(String id,
String salt,
String password)
Hashes a password to be stored.
|
int |
hashCode() |
static SqlAuthentication |
newInstance(SqlAuthentication arg) |
String |
toString() |
authenticate, authenticate, newInstance, rxAuthenticate, rxAuthenticate
public static final io.vertx.lang.rx.TypeArg<SqlAuthentication> __TYPE_ARG
public SqlAuthentication(SqlAuthentication delegate)
public SqlAuthentication(Object delegate)
public String toString()
toString
in class AuthenticationProvider
public boolean equals(Object o)
equals
in class AuthenticationProvider
public int hashCode()
hashCode
in class AuthenticationProvider
public SqlAuthentication getDelegate()
getDelegate
in class AuthenticationProvider
public static SqlAuthentication create(SqlClient client)
client
- the JDBC client instancepublic static SqlAuthentication create(SqlClient client, SqlAuthenticationOptions options)
client
- the JDBC client instanceoptions
- authentication optionspublic String hash(String id, Map<String,String> params, String salt, String password)
HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
id
- params
- salt
- password
- public String hash(String id, String salt, String password)
HashingStrategy.hash(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.String, java.lang.String)
id
- salt
- password
- public static SqlAuthentication newInstance(SqlAuthentication arg)
Copyright © 2021 Eclipse. All rights reserved.