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 Details

    • PasswordGuessEvidence

      public PasswordGuessEvidence(char[] guess)
      Construct a new instance.
      Parameters:
      guess - the non null password guess
  • Method Details

    • getGuess

      public char[] getGuess()
      Get the password guess.
      Returns:
      the password guess
    • destroy

      public void destroy()
      Specified by:
      destroy in interface Destroyable
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface Destroyable