Package | Description |
---|---|
com.naturalprogrammer.spring.lemon | |
com.naturalprogrammer.spring.lemon.mail |
Modifier and Type | Method and Description |
---|---|
MailSender<?> |
LemonAutoConfiguration.mockMailSender()
Configures a MockMailSender when the property
spring.mail.host isn't defined. |
MailSender<?> |
LemonAutoConfiguration.smtpMailSender(org.springframework.mail.javamail.JavaMailSender javaMailSender)
Configures an SmtpMailSender when the property
spring.mail.host is defined. |
Modifier and Type | Method and Description |
---|---|
void |
LemonService.createLemonService(LemonProperties properties,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
MailSender<?> mailSender,
AbstractUserRepository<U,ID> userRepository,
org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
JwtService jwtService) |
Modifier and Type | Class and Description |
---|---|
class |
MockMailSender
A mock mail sender for
writing the mails to the log.
|
class |
SmtpMailSender
An SMTP mail sender, which sends mails
using an injected JavaMailSender.
|