Package de.xima.fc.mail.utils
Class UserMailUtil
- java.lang.Object
-
- de.xima.fc.mail.utils.UserMailUtil
-
public class UserMailUtil extends Object
E-Mail zur Benachrichtigung eines Benutzers über die Erstellung/Änderung seines Kontos.
-
-
Method Summary
-
-
-
Method Detail
-
sendUserCredentialsResetMail
public static boolean sendUserCredentialsResetMail(IEntityContext ec, UserProfile profile, String baseUrl)
-
sendUserCredentialsResetMail
public static boolean sendUserCredentialsResetMail(IEntityContext ec, UserProfile profile, String baseUrl, String verifiedTargetEmailAddress)
-
sendEmailVerificationMail
public static boolean sendEmailVerificationMail(IEntityContext ec, UserEmail email, String baseUrl)
-
sendPrimaryEmailChangeMail
public static boolean sendPrimaryEmailChangeMail(IEntityContext ec, UserEmail email, String baseUrl)
-
sendUserIdentityConnectedMail
public static boolean sendUserIdentityConnectedMail(IEntityContext ec, UserIdentity identity, String connectorEmail, Instant isntant, String remoteAddr, String userAgent, String baseUrl)
-
sendUserIdentityRemovalMail
public static boolean sendUserIdentityRemovalMail(IEntityContext ec, UserIdentity identity, String baseUrl)
-
sendUserProfileMergeRequestMail
public static boolean sendUserProfileMergeRequestMail(IEntityContext ec, UserProfile userProfile, UserProfile toBeMerged, String baseUrl)
-
sendUserProfileDeleteRequestMail
public static boolean sendUserProfileDeleteRequestMail(IEntityContext ec, UserProfile userProfile, String baseUrl)
-
sendUserMfaTotpRegistrationMail
public static boolean sendUserMfaTotpRegistrationMail(IEntityContext ec, UserProfileMfa mfaConfig, String baseUrl)
-
sendUserMfaRemovalMail
public static boolean sendUserMfaRemovalMail(IEntityContext ec, UserProfileMfa mfaConfig, String baseUrl)
-
sendUserMfaEmailCodeMail
public static boolean sendUserMfaEmailCodeMail(IUser user, Locale defaultLocale)
-
sendUserInvitationMail
public static boolean sendUserInvitationMail(IEntityContext ec, DirectClientAuthorization authorization, String baseUrl)
-
readDefaultSystemEmailTemplate
public static String readDefaultSystemEmailTemplate()
-
sendLoginData
@Deprecated public static boolean sendLoginData(IEntityContext ec, Benutzer user, String password)
Deprecated.Verschickt die E-Mail.- Parameters:
ec
- the entity context to useruser
- Der betreffende Benutzer.
-
sendSystemLogin
@Deprecated public static boolean sendSystemLogin(IEntityContext ec, Benutzer user, String password)
Deprecated.
-
sendLDAPLogin
@Deprecated public static boolean sendLDAPLogin(IEntityContext ec, Benutzer user)
Deprecated.
-
sendResetPassword
@Deprecated public static boolean sendResetPassword(IEntityContext ec, Benutzer user, String resetPasswordUrl)
Deprecated.- Parameters:
user
- der BenutzerresetPasswordUrl
- die URL zum Reset des Passwortes- Returns:
Boolean
if the mail was send successfully
-
sendUserSetPassword
@Deprecated public static boolean sendUserSetPassword(IEntityContext ec, Benutzer user, String setPasswordUrl)
Deprecated.
-
-