Class AllowedFromPatternResolver
java.lang.Object
ch.tocco.nice2.messaging.mail.impl.AllowedFromPatternResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Pattern
void
setEmailAllowedFromDomainsRegex
(String emailAllowedFromDomainsRegex) Sets the regular expression defining the domains which can be securely used by the application for mailing.
-
Constructor Details
-
AllowedFromPatternResolver
public AllowedFromPatternResolver(org.slf4j.Logger log)
-
-
Method Details
-
getPattern
-
setEmailAllowedFromDomainsRegex
@Value("${email.allowedFromDomainsRegex}") public void setEmailAllowedFromDomainsRegex(String emailAllowedFromDomainsRegex) Sets the regular expression defining the domains which can be securely used by the application for mailing.- Parameters:
emailAllowedFromDomainsRegex
- the regular expression string.
-