Class KbaAnswer


  • public final class KbaAnswer
    extends java.lang.Object
    Record containing Knowledge-Based Authentication (KBA) answer.
    • Constructor Summary

      Constructors 
      Constructor Description
      KbaAnswer​(java.lang.String type, java.lang.String answer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getAnswer()
      KBA answer, e.g.
      java.lang.String getType()
      KBA question type, e.g.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • KbaAnswer

        public KbaAnswer​(java.lang.String type,
                         java.lang.String answer)
    • Method Detail

      • getType

        public java.lang.String getType()
        KBA question type, e.g. "FIRST_PET_NAME".
      • getAnswer

        public java.lang.String getAnswer()
        KBA answer, e.g. "Shurik".
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object