Package io.vertx.mutiny.ext.auth.jdbc
Class JDBCHashStrategy
- java.lang.Object
-
- io.vertx.mutiny.ext.auth.jdbc.JDBCHashStrategy
-
public class JDBCHashStrategy extends Object
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 theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<JDBCHashStrategy>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description JDBCHashStrategy(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate)
JDBCHashStrategy(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
computeHash(String password, String salt, int version)
Deprecated.static JDBCHashStrategy
createPBKDF2(Vertx vertx)
Deprecated.static JDBCHashStrategy
createSHA512(Vertx vertx)
Deprecated.boolean
equals(Object o)
String
generateSalt()
Deprecated.io.vertx.ext.auth.jdbc.JDBCHashStrategy
getDelegate()
String
getHashedStoredPwd(io.vertx.core.json.JsonArray row)
Deprecated.String
getSalt(io.vertx.core.json.JsonArray row)
Deprecated.int
hashCode()
static boolean
isEqual(String hasha, String hashb)
Deprecated.static JDBCHashStrategy
newInstance(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg)
void
setNonces(io.vertx.core.json.JsonArray nonces)
Deprecated.String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<JDBCHashStrategy> __TYPE_ARG
-
-
Constructor Detail
-
JDBCHashStrategy
public JDBCHashStrategy(io.vertx.ext.auth.jdbc.JDBCHashStrategy delegate)
-
JDBCHashStrategy
public JDBCHashStrategy(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.auth.jdbc.JDBCHashStrategy getDelegate()
-
createSHA512
@Deprecated public static JDBCHashStrategy createSHA512(Vertx vertx)
Deprecated.- Parameters:
vertx
- the vert.x instance- Returns:
- the implementation.
-
createPBKDF2
@Deprecated public static JDBCHashStrategy createPBKDF2(Vertx vertx)
Deprecated.- Parameters:
vertx
- the vert.x instance- Returns:
- the implementation.
-
generateSalt
@Deprecated public String generateSalt()
Deprecated.- Returns:
- a non null salt value
-
computeHash
@Deprecated public String computeHash(String password, String salt, int version)
Deprecated.- Parameters:
password
- the unhashed passwordsalt
- the saltversion
- the nonce version to use- Returns:
- the hashed password
-
getHashedStoredPwd
@Deprecated public String getHashedStoredPwd(io.vertx.core.json.JsonArray row)
Deprecated.- Parameters:
row
- the row- Returns:
- the hashed password
-
getSalt
@Deprecated public String getSalt(io.vertx.core.json.JsonArray row)
Deprecated.- Parameters:
row
- the row- Returns:
- the salt
-
setNonces
@Deprecated public void setNonces(io.vertx.core.json.JsonArray nonces)
Deprecated.- Parameters:
nonces
- a json array.
-
isEqual
@Deprecated public static boolean isEqual(String hasha, String hashb)
Deprecated.- Parameters:
hasha
- hash a to comparehashb
- hash b to compare- Returns:
- true if equal
-
newInstance
public static JDBCHashStrategy newInstance(io.vertx.ext.auth.jdbc.JDBCHashStrategy arg)
-
-