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 JDBCHashStrategycreatePBKDF2(Vertx vertx) Deprecated.static JDBCHashStrategycreateSHA512(Vertx vertx) Deprecated.booleanDeprecated.io.vertx.ext.auth.jdbc.JDBCHashStrategygetHashedStoredPwd(io.vertx.core.json.JsonArray row) Deprecated.getSalt(io.vertx.core.json.JsonArray row) Deprecated.inthashCode()static booleanDeprecated.static JDBCHashStrategynewInstance(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg) voidsetNonces(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:
getDelegatein 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
-