Revision 8cb8fc5c
Added by Andreas Kohlbecker over 2 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/security/AccountCreationRequest.java | ||
---|---|---|
9 | 9 |
*/ |
10 | 10 |
public class AccountCreationRequest extends AbstractRequestToken { |
11 | 11 |
|
12 |
private String userName; |
|
13 |
|
|
14 | 12 |
private String userEmail; |
15 | 13 |
|
16 |
private String encryptedPassword; |
|
17 | 14 |
|
18 |
protected AccountCreationRequest(String userName, String encryptedPassword, String userEmail, String token, int expireInMinutes) {
|
|
15 |
protected AccountCreationRequest(String userEmail, String token, int expireInMinutes) { |
|
19 | 16 |
super(); |
20 |
this.userName = userName; |
|
21 | 17 |
this.userEmail = userEmail; |
22 |
this.encryptedPassword = encryptedPassword; |
|
23 | 18 |
this.token = token; |
24 | 19 |
this.setExpiryDate(expireInMinutes); |
25 | 20 |
} |
26 | 21 |
|
27 |
public String getUserName() { |
|
28 |
return userName; |
|
29 |
} |
|
30 |
|
|
31 | 22 |
public String getUserEmail() { |
32 | 23 |
return userEmail; |
33 | 24 |
} |
34 | 25 |
|
35 |
public String getEncryptedPassword() { |
|
36 |
return encryptedPassword; |
|
37 |
} |
|
38 | 26 |
} |
Also available in: Unified diff
ref #9497 user account self registration: AccountCreationRequest only with email-address