Package io.vertx.mutiny.ext.auth.jdbc
Class JDBCHashStrategy
java.lang.Object
io.vertx.mutiny.ext.auth.jdbc.JDBCHashStrategy
- All Implemented Interfaces:
MutinyDelegate
Deprecated.
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) Deprecated.JDBCHashStrategy
(Object delegate) Deprecated. -
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.Deprecated.io.vertx.ext.auth.jdbc.JDBCHashStrategy
Deprecated.getHashedStoredPwd
(io.vertx.core.json.JsonArray row) Deprecated.getSalt
(io.vertx.core.json.JsonArray row) Deprecated.int
hashCode()
Deprecated.static boolean
Deprecated.static JDBCHashStrategy
newInstance
(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg) Deprecated.void
setNonces
(io.vertx.core.json.JsonArray nonces) Deprecated.toString()
Deprecated.
-
Field Details
-
__TYPE_ARG
Deprecated.
-
-
Constructor Details
-
JDBCHashStrategy
public JDBCHashStrategy(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate) Deprecated. -
JDBCHashStrategy
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.jdbc.JDBCHashStrategy getDelegate()Deprecated.- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
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
Deprecated.
-