-
Notifications
You must be signed in to change notification settings - Fork 188
/
PasswordQuestionsDto.java
70 lines (52 loc) · 1.9 KB
/
PasswordQuestionsDto.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.web.page.admin.home.dto;
import java.io.Serializable;
import java.util.List;
import com.evolveum.midpoint.prism.PrismContainer;
public class PasswordQuestionsDto implements Serializable{
public static final String F_MY_QUESTIONS_ANSWERS = "questionAnswers";
public static final String F_MY_QUESTIONS_ANSWER = "passwAnswer";
public static final String F_MY_QUESTIONS_QUESTIONITSELF = "passwQuestion";
private String passwQuestion;
private String passwAnswer;
private List<SecurityQuestionAnswerDTO> questionAnswers;
private PrismContainer credentials;
/*public PasswordQuestionsDto(String passwQuestion){
this.passwQuestion = passwQuestion;
}*/
public PasswordQuestionsDto(){
}
public PasswordQuestionsDto(String passwQuestion, String passAnswer){
this.passwQuestion = passwQuestion;
this.passwAnswer = passAnswer;
}
public String getPwdQuestion() {
return passwQuestion;
}
public void setPwdQuestion(String pwdQuestion) {
this.passwQuestion = pwdQuestion;
}
public String getPwdAnswer() {
return passwAnswer;
}
public void setPwdAnswer(String pwdAnswer) {
this.passwAnswer = pwdAnswer;
}
public PrismContainer getCredentials() {
return credentials;
}
public void setCredentials(PrismContainer credentials) {
this.credentials = credentials;
}
public List<SecurityQuestionAnswerDTO> getSecurityAnswers() {
return questionAnswers;
}
public void setSecurityAnswers(List<SecurityQuestionAnswerDTO> securityAnswers) {
this.questionAnswers = securityAnswers;
}
}