1
|
/**
|
2
|
* Copyright (C) 2021 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.api.service.security;
|
10
|
|
11
|
/**
|
12
|
* @author a.kohlbecker
|
13
|
* @since Nov 11, 2021
|
14
|
*/
|
15
|
public class PasswordResetTemplates {
|
16
|
|
17
|
public static final String RESET_REQUEST_EMAIL_SUBJECT_TEMPLATE = "Your password reset request for ${userName}";
|
18
|
public static final String RESET_REQUEST_EMAIL_BODY_TEMPLATE = "You are receiving this email because a password reset was requested for your account at the ${dataBase}"
|
19
|
+ " data base. If this was not initiated by you, please ignore this message."
|
20
|
+ "\n\nPlease click ${linkUrl} to reset your password";
|
21
|
|
22
|
public static final String RESET_SUCCESS_EMAIL_SUBJECT_TEMPLATE = "Your password for ${userName} has been changed";
|
23
|
public static final String RESET_SUCCESS_EMAIL_BODY_TEMPLATE = "The password of your account (${userName}) at the ${dataBase} data base has just been changed."
|
24
|
+ "\n\nIf this was not initiated by you, please contact the administrator (${supportEmailAddress}) as soon as possible.";
|
25
|
|
26
|
public static final String RESET_FAILED_EMAIL_SUBJECT_TEMPLATE = "Changing your password for ${userName} has failed";
|
27
|
public static final String RESET_FAILED_EMAIL_BODY_TEMPLATE = "The attempt to change the password of your account at the ${dataBase} data base has failed."
|
28
|
+ "\n\nIf this was not initiated by you, please contact the administrator (${supportEmailAddress}) as soon as possible.";
|
29
|
|
30
|
}
|