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