open class JDBCAuth : AuthProvider
Factory interface for creating io.vertx.rxjava.ext.auth.AuthProvider instances that use the Vert.x JDBC client NOTE: This class has been automatically generated from the io.vertx.ext.auth.jdbc.JDBCAuth non RX-ified interface using Vert.x codegen.
JDBCAuth(delegate: JDBCAuth) |
static val __TYPE_ARG: TypeArg<JDBCAuth> |
open fun computeHash(password: String, salt: String): String
Compute the hashed password given the unhashed password and the salt without nonce The implementation relays to the JDBCHashStrategy provided. open fun computeHash(password: String, salt: String, version: Int): String
Compute the hashed password given the unhashed password and the salt The implementation relays to the JDBCHashStrategy provided. |
|
open static fun create(vertx: Vertx, client: JDBCClient): JDBCAuth
Create a JDBC auth provider implementation |
|
open fun equals(other: Any?): Boolean |
|
open fun generateSalt(): String
Compute a salt string. The implementation relays to the JDBCHashStrategy provided. |
|
open fun getDelegate(): JDBCAuth |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: JDBCAuth): JDBCAuth |
|
open fun setAuthenticationQuery(authenticationQuery: String): JDBCAuth
Set the authentication query to use. Use this if you want to override the default authentication query. |
|
open fun setNonces(nonces: JsonArray): JDBCAuth
Provide a application configuration level on hash nonce's as a ordered list of nonces where each position corresponds to a version. The nonces are supposed not to be stored in the underlying jdbc storage but to be provided as a application configuration. The idea is to add one extra variable to the hash function in order to make breaking the passwords using rainbow tables or precomputed hashes harder. Leaving the attacker only with the brute force approach. The implementation relays to the JDBCHashStrategy provided. |
|
open fun setPermissionsQuery(permissionsQuery: String): JDBCAuth
Set the permissions query to use. Use this if you want to override the default permissions query. |
|
open fun setRolePrefix(rolePrefix: String): JDBCAuth
Set the role prefix to distinguish from permissions when checking for isPermitted requests. |
|
open fun setRolesQuery(rolesQuery: String): JDBCAuth
Set the roles query to use. Use this if you want to override the default roles query. |
|
open fun toString(): String |