Project

General

Profile

Download (2.65 KB) Statistics
| Branch: | Tag: | Revision:
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
import eu.etaxonomy.cdm.api.config.CdmConfigurationKeys;
12

    
13
/**
14
 * @author a.kohlbecker
15
 * @since Nov 11, 2021
16
 */
17
public class UserAccountEmailTemplates {
18

    
19
    public static final String RESET_REQUEST_EMAIL_SUBJECT_TEMPLATE = "Your password reset request for ${userName}";
20
    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}"
21
            + " data base. If this was not initiated by you, please ignore this message."
22
            + "\n\nPlease click ${linkUrl} to reset your password";
23

    
24
    public static final String RESET_SUCCESS_EMAIL_SUBJECT_TEMPLATE = "Your password for ${userName} has been changed";
25
    public static final String RESET_SUCCESS_EMAIL_BODY_TEMPLATE = "The password of your account (${userName}) at the ${dataBase} data base has just been changed."
26
            + "\n\nIf this was not initiated by you, please contact the administrator (${" + CdmConfigurationKeys.MAIL_ADDRESS_SUPPORT + "}) as soon as possible.";
27

    
28
    public static final String RESET_FAILED_EMAIL_SUBJECT_TEMPLATE = "Changing your password for ${userName} has failed";
29
    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."
30
            + "\n\nIf this was not initiated by you, please contact the administrator (${" + CdmConfigurationKeys.MAIL_ADDRESS_SUPPORT + "}) as soon as possible.";
31

    
32
    public static final String REGISTRATION_REQUEST_EMAIL_SUBJECT_TEMPLATE = "Your requested for new user account at ${dataBase}";
33
    public static final String REGISTRATION_REQUEST_EMAIL_BODY_TEMPLATE = "You are receiving this email because you requested for a new account at the ${dataBase}"
34
            + " data base. If this was not initiated by you, please ignore this message."
35
            + "\n\nPlease click ${linkUrl} to start creating your user account.";
36

    
37
    public static final String REGISTRATION_SUCCESS_EMAIL_SUBJECT_TEMPLATE = "The new user account (${userName}) has been changed";
38
    public static final String REGISTRATION_SUCCESS_EMAIL_BODY_TEMPLATE = "Your account (${userName}) at the ${dataBase} data base has just been created."
39
            + "\n\nIf this was not initiated by you, please contact the administrator (${" + CdmConfigurationKeys.MAIL_ADDRESS_SUPPORT + "}).";
40

    
41
}
(10-10/10)