1 package com.sslexplorer.security; 2 3 public class PersonalQuestionsCredentials implements Credentials { 4 5 6 int questionIndex; 7 String answer; 8 String username; 9 10 public PersonalQuestionsCredentials(String username, int questionIndex, String answer) { 11 this.questionIndex = questionIndex; 12 this.answer = answer; 13 this.username = username; 14 } 15 16 public String getUsername() { 17 return username; 18 } 19 20 public String getAnswer() { 21 return answer; 22 } 23 24 public int getQuestionIndex() { 25 return questionIndex; 26 } 27 28 } 29 | Popular Tags |