Package io.vertx.mutiny.ext.auth.mongo
Class HashStrategy
java.lang.Object
io.vertx.mutiny.ext.auth.mongo.HashStrategy
- 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
ConstructorsConstructorDescriptionHashStrategy
(io.vertx.ext.auth.mongo.HashStrategy delegate) Deprecated.HashStrategy
(Object delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncomputeHash
(String password, User user) Deprecated.boolean
Deprecated.io.vertx.ext.auth.mongo.HashStrategy
Deprecated.Deprecated.io.vertx.ext.auth.mongo.HashSaltStyle
Deprecated.getStoredPwd
(User user) Deprecated.int
hashCode()
Deprecated.static HashStrategy
newInstance
(io.vertx.ext.auth.mongo.HashStrategy arg) Deprecated.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.toString()
Deprecated.
-
Field Details
-
__TYPE_ARG
Deprecated.
-
-
Constructor Details
-
HashStrategy
public HashStrategy(io.vertx.ext.auth.mongo.HashStrategy delegate) Deprecated. -
HashStrategy
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.ext.auth.mongo.HashStrategy 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. -
computeHash
Deprecated.- Parameters:
password
- the unhashed passworduser
- the user to get the salt for. This paramter is needed, if the is declared to be used- Returns:
- the hashed password
-
getStoredPwd
Deprecated.- Parameters:
user
- the user to get the stored password for- Returns:
- the password, either as hashed version or as cleartext, depending on the preferences
-
getSalt
Deprecated.- Parameters:
user
- the user to get the salt for. This paramter is needed, if the is declared to be used- Returns:
- null in case of the salt of the user or a defined external salt
-
setExternalSalt
Deprecated.- Parameters:
salt
- the salt, which shall be used
-
setSaltStyle
Deprecated.- Parameters:
saltStyle
- theHashSaltStyle
to be used
-
getSaltStyle
Deprecated.- Returns:
- the saltStyle
-
setAlgorithm
Deprecated.- Parameters:
algorithm
- the choosen algorithm
-
newInstance
Deprecated.
-