public class HashStrategy extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<HashStrategy> |
__TYPE_ARG |
Constructor and Description |
---|
HashStrategy(io.vertx.ext.auth.mongo.HashStrategy delegate) |
HashStrategy(Object delegate) |
Modifier and Type | Method and Description |
---|---|
String |
computeHash(String password,
User user)
Deprecated.
|
boolean |
equals(Object o) |
io.vertx.ext.auth.mongo.HashStrategy |
getDelegate() |
String |
getSalt(User user)
Deprecated.
|
io.vertx.ext.auth.mongo.HashSaltStyle |
getSaltStyle()
Deprecated.
|
String |
getStoredPwd(User user)
Deprecated.
|
int |
hashCode() |
static HashStrategy |
newInstance(io.vertx.ext.auth.mongo.HashStrategy arg) |
void |
setAlgorithm(io.vertx.ext.auth.mongo.HashAlgorithm algorithm)
Deprecated.
|
void |
setExternalSalt(String salt)
Deprecated.
|
void |
setSaltStyle(io.vertx.ext.auth.mongo.HashSaltStyle saltStyle)
Deprecated.
|
String |
toString() |
public static final TypeArg<HashStrategy> __TYPE_ARG
public HashStrategy(io.vertx.ext.auth.mongo.HashStrategy delegate)
public HashStrategy(Object delegate)
public io.vertx.ext.auth.mongo.HashStrategy getDelegate()
@Deprecated public String computeHash(String password, User user)
password
- the unhashed passworduser
- the user to get the salt for. This paramter is needed, if the is declared to be used@Deprecated public String getStoredPwd(User user)
user
- the user to get the stored password for@Deprecated public String getSalt(User user)
HashSaltStyle
user
- the user to get the salt for. This paramter is needed, if the is declared to be used@Deprecated public void setExternalSalt(String salt)
salt
- the salt, which shall be used@Deprecated public void setSaltStyle(io.vertx.ext.auth.mongo.HashSaltStyle saltStyle)
HashSaltStyle
.saltStyle
- the HashSaltStyle
to be used@Deprecated public io.vertx.ext.auth.mongo.HashSaltStyle getSaltStyle()
HashSaltStyle
of the current instance@Deprecated public void setAlgorithm(io.vertx.ext.auth.mongo.HashAlgorithm algorithm)
algorithm
- the choosen algorithmpublic static HashStrategy newInstance(io.vertx.ext.auth.mongo.HashStrategy arg)
Copyright © 2021 Eclipse. All rights reserved.