Package io.vertx.mutiny.ext.auth.jdbc
Class JDBCHashStrategy
java.lang.Object
io.vertx.mutiny.ext.auth.jdbc.JDBCHashStrategy
- All Implemented Interfaces:
MutinyDelegate
Determines how the hashing is computed in the implementation
You can implement this to provide a different hashing strategy to the default.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJDBCHashStrategy
(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate) JDBCHashStrategy
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptioncomputeHash
(String password, String salt, int version) Deprecated.static JDBCHashStrategy
createPBKDF2
(Vertx vertx) Deprecated.static JDBCHashStrategy
createSHA512
(Vertx vertx) Deprecated.boolean
Deprecated.io.vertx.ext.auth.jdbc.JDBCHashStrategy
getHashedStoredPwd
(io.vertx.core.json.JsonArray row) Deprecated.getSalt
(io.vertx.core.json.JsonArray row) Deprecated.int
hashCode()
static boolean
Deprecated.static JDBCHashStrategy
newInstance
(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg) void
setNonces
(io.vertx.core.json.JsonArray nonces) Deprecated.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
JDBCHashStrategy
public JDBCHashStrategy(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate) -
JDBCHashStrategy
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.jdbc.JDBCHashStrategy getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
createSHA512
Deprecated.- Parameters:
vertx
- the vert.x instance- Returns:
- the implementation.
-
createPBKDF2
Deprecated.- Parameters:
vertx
- the vert.x instance- Returns:
- the implementation.
-
generateSalt
Deprecated.- Returns:
- a non null salt value
-
computeHash
Deprecated.- Parameters:
password
- the unhashed passwordsalt
- the saltversion
- the nonce version to use- Returns:
- the hashed password
-
getHashedStoredPwd
Deprecated.- Parameters:
row
- the row- Returns:
- the hashed password
-
getSalt
Deprecated.- Parameters:
row
- the row- Returns:
- the salt
-
setNonces
Deprecated.- Parameters:
nonces
- a json array.
-
isEqual
Deprecated.- Parameters:
hasha
- hash a to comparehashb
- hash b to compare- Returns:
- true if equal
-
newInstance
-