Factory interface for creating io.vertx.ext.auth.AuthProvider
instances that use the Vert.x JDBC client
Anything
Object
Basic
...and other supertypesAuthProvider
JDBCAuth
AuthProvider
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
JDBCAuth(JDBCAuth unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
computeHash | shared default String computeHash(String password, String salt) Compute the hashed password given the unhashed password and the salt without nonce The implementation relays to the JDBCHashStrategy provided. Parameters:
|
computeHash | shared default String computeHash(String password, String salt, Integer version) Compute the hashed password given the unhashed password and the salt The implementation relays to the JDBCHashStrategy provided. Parameters:
|
generateSalt | shared default String generateSalt() Compute a salt string. The implementation relays to the JDBCHashStrategy provided. |
setAuthenticationQuery | shared default JDBCAuth setAuthenticationQuery(String authenticationQuery) Set the authentication query to use. Use this if you want to override the default authentication query. Parameters:
|
setNonces | shared default JDBCAuth setNonces(Array nonces) 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. Parameters:
|
setPermissionsQuery | shared default JDBCAuth setPermissionsQuery(String permissionsQuery) Set the permissions query to use. Use this if you want to override the default permissions query. Parameters:
|
setRolePrefix | shared default JDBCAuth setRolePrefix(String rolePrefix) Set the role prefix to distinguish from permissions when checking for isPermitted requests. Parameters:
|
setRolesQuery | shared default JDBCAuth setRolesQuery(String rolesQuery) Set the roles query to use. Use this if you want to override the default roles query. Parameters:
|
Inherited Methods |
Methods inherited from: AuthProvider authenticate |
Methods inherited from: Object equals |