Package io.vertx.reactivex.ext.auth
Class HashingStrategy
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.HashingStrategy
-
- All Implemented Interfaces:
RxDelegate
@Deprecated public class HashingStrategy extends Object implements RxDelegate
Deprecated.Hashing Strategy manager. This class will load system provided hashing strategies and algorithms. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<HashingStrategy>__TYPE_ARGDeprecated.
-
Constructor Summary
Constructors Constructor Description HashingStrategy(HashingStrategy delegate)Deprecated.HashingStrategy(Object delegate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.HashingAlgorithmget(String id)Deprecated.HashingStrategygetDelegate()Deprecated.Stringhash(String id, Map<String,String> params, String salt, String password)Deprecated.inthashCode()Deprecated.static HashingStrategyload()Deprecated.static HashingStrategynewInstance(HashingStrategy arg)Deprecated.HashingStrategyput(String id, HashingAlgorithm algorithm)Deprecated.StringtoString()Deprecated.booleanverify(String hash, String password)Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<HashingStrategy> __TYPE_ARG
Deprecated.
-
-
Constructor Detail
-
HashingStrategy
public HashingStrategy(HashingStrategy delegate)
Deprecated.
-
HashingStrategy
public HashingStrategy(Object delegate)
Deprecated.
-
-
Method Detail
-
getDelegate
public HashingStrategy getDelegate()
Deprecated.- Specified by:
getDelegatein interfaceRxDelegate
-
load
@Deprecated public static HashingStrategy load()
Deprecated.Factory method to load the algorithms from the system- Returns:
- a Hashing Strategy capable of hashing using the available algorithms
-
hash
@Deprecated public String hash(String id, Map<String,String> params, String salt, String password)
Deprecated.Hashes a password.- Parameters:
id- the algorithm idparams- the algorithm specific parameterssalt- the given saltpassword- the given password- Returns:
- the hashed string
-
verify
@Deprecated public boolean verify(String hash, String password)
Deprecated.Time constant password check. Regardless of the check, this algorithm executes the same number of checks regardless of the correctly number of characters- Parameters:
hash- the hash to verifypassword- the password to test against- Returns:
- boolean
-
get
@Deprecated public HashingAlgorithm get(String id)
Deprecated.Get an algorithm interface by its Id- Parameters:
id- the algorithm id- Returns:
- the algorithm
-
put
@Deprecated public HashingStrategy put(String id, HashingAlgorithm algorithm)
Deprecated.Put or replace an algorithm into the list of system loaded algorithms.- Parameters:
id- the algorithm idalgorithm- the implementation- Returns:
- self
-
newInstance
public static HashingStrategy newInstance(HashingStrategy arg)
Deprecated.
-
-