Package org.wildfly.security.evidence
Class PasswordGuessEvidence
- java.lang.Object
-
- org.wildfly.security.evidence.PasswordGuessEvidence
-
- All Implemented Interfaces:
Destroyable
,Evidence
public final class PasswordGuessEvidence extends Object implements Evidence, Destroyable
A piece of evidence that is comprised of a password guess.
-
-
Constructor Summary
Constructors Constructor Description PasswordGuessEvidence(char[] guess)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
char[]
getGuess()
Get the password guess.boolean
isDestroyed()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.evidence.Evidence
castAndApply, castAndApply, castAs, castAs, getDecodedPrincipal, getDefaultPrincipal, getPrincipal, setDecodedPrincipal
-
-
-
-
Method Detail
-
getGuess
public char[] getGuess()
Get the password guess.- Returns:
- the password guess
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyed
in interfaceDestroyable
-
-