public class NoHashProcessor extends Object implements HashProcessor
| Constructor and Description |
|---|
NoHashProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(char[] inputValue,
String storedHash)
compare the plain char array against the hash value
|
String |
hash(String plainText)
produce hash text from plain text
|
public String hash(String plainText) throws Exception
HashProcessorhash in interface HashProcessorplainText - Plain text inputExceptionpublic boolean compare(char[] inputValue,
String storedHash)
HashProcessorcompare in interface HashProcessorinputValue - value of the plain textstoredHash - the existing hash valueCopyright © 2018 JBoss by Red Hat. All rights reserved.