Class NoHashProcessor
java.lang.Object
org.apache.activemq.artemis.utils.NoHashProcessor
- All Implemented Interfaces:
HashProcessor
A hash processor that just does plain text comparison
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoHashProcessor
public NoHashProcessor()
-
-
Method Details
-
hash
Description copied from interface:HashProcessorproduce hash text from plain text- Specified by:
hashin interfaceHashProcessor- Parameters:
plainText- Plain text input- Returns:
- the Hash value of the input plain text
- Throws:
Exception
-
compare
Description copied from interface:HashProcessorcompare the plain char array against the hash value- Specified by:
comparein interfaceHashProcessor- Parameters:
inputValue- value of the plain textstoredHash- the existing hash value- Returns:
- true if the char array matches the hash value, otherwise false.
-