Class VerifyEmailAccountConfig
java.lang.Object
org.forgerock.selfservice.stages.email.VerifyEmailAccountConfig
- All Implemented Interfaces:
StageConfig
Configuration for the email account verification stage.
- Since:
- 0.1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets additional parameters for the email service.Gets the URL for the email service.getFrom()Gets the from part for the verification email.Gets the field name for the identity email address.Gets the message map for the verification email.Gets the mime-type of the email message.getName()Gets the name of the stage configuration.Gets the class name of the consuming progress stage.Gets the subject map for the verification email.Gets the verification URL to be passed into the email body.Gets the string token representing where the verification URL should be substituted.inthashCode()setEmailServiceParameters(Map<String, String> emailServiceParameters) Sets any parameters for the email service.setEmailServiceUrl(String emailServiceUrl) Sets the URL for the email service.Sets the from part for the verification email.setIdentityEmailField(String identityEmailField) Sets the field name for the identity email address.setMessageTranslations(Map<Locale, String> messageTranslations) Sets the message map for the verification email.setMimeType(String mimeType) Sets the message mime-type.setSubjectTranslations(Map<Locale, String> subjectTranslations) Sets the subject map for the verification email.setVerificationLink(String verificationLink) Sets the verification URL to be passed into the email body.setVerificationLinkToken(String verificationLinkToken) Sets the string token representing where the verification URL should be substituted.
-
Field Details
-
NAME
Name of the stage configuration.- See Also:
-
-
Constructor Details
-
VerifyEmailAccountConfig
public VerifyEmailAccountConfig()
-
-
Method Details
-
getEmailServiceUrl
Gets the URL for the email service.- Returns:
- the email service URL
-
setEmailServiceUrl
Sets the URL for the email service.- Parameters:
emailServiceUrl- the email service URL- Returns:
- this config instance
-
getEmailServiceParameters
Gets additional parameters for the email service.- Returns:
- the email service parameters
-
setEmailServiceParameters
public VerifyEmailAccountConfig setEmailServiceParameters(Map<String, String> emailServiceParameters) Sets any parameters for the email service.- Parameters:
emailServiceParameters- the email service Parameters- Returns:
- this config instance
-
getSubjectTranslations
Gets the subject map for the verification email.- Returns:
- the email subject map (locale to string)
-
setSubjectTranslations
Sets the subject map for the verification email.- Parameters:
subjectTranslations- the email subject map (locale to string)- Returns:
- this config instance
-
getMessageTranslations
Gets the message map for the verification email.- Returns:
- the email message map (locale to string)
-
setMessageTranslations
Sets the message map for the verification email.- Parameters:
messageTranslations- the email message map (locale to string)- Returns:
- this config instance
-
getMimeType
Gets the mime-type of the email message.- Returns:
- the message mime-type
-
setMimeType
Sets the message mime-type.- Parameters:
mimeType- the message mime-type- Returns:
- this config instance
-
getFrom
Gets the from part for the verification email.- Returns:
- the email from field
-
setFrom
Sets the from part for the verification email.- Parameters:
from- the email from field- Returns:
- this config instance
-
getVerificationLinkToken
Gets the string token representing where the verification URL should be substituted.- Returns:
- the verification URL string token
-
setVerificationLinkToken
Sets the string token representing where the verification URL should be substituted.- Parameters:
verificationLinkToken- the verification URL string token- Returns:
- this config instance
-
getVerificationLink
Gets the verification URL to be passed into the email body.- Returns:
- the verification URL
-
setVerificationLink
Sets the verification URL to be passed into the email body.- Parameters:
verificationLink- the verification URL- Returns:
- this config instance
-
getIdentityEmailField
Gets the field name for the identity email address.- Returns:
- the identity email address field name
-
setIdentityEmailField
Sets the field name for the identity email address.- Parameters:
identityEmailField- the identity email address field name- Returns:
- this config instance
-
getName
Description copied from interface:StageConfigGets the name of the stage configuration.- Specified by:
getNamein interfaceStageConfig- Returns:
- the config name
-
getProgressStageClassName
Description copied from interface:StageConfigGets the class name of the consuming progress stage.- Specified by:
getProgressStageClassNamein interfaceStageConfig- Returns:
- the progress stage class name
-
equals
-
hashCode
public int hashCode()
-