KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > security > PersonalQuestionsCredentials


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