Class LazyHashProcessor
java.lang.Object
org.apache.activemq.artemis.utils.LazyHashProcessor
- All Implemented Interfaces:
HashProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancompare the plain char array against the hash valueprotected abstract HashProcessorproduce hash text from plain text
-
Constructor Details
-
LazyHashProcessor
public LazyHashProcessor()
-
-
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.
-
createHashProcessor
- Throws:
Exception
-