Package org.apereo.cas.config
Class CasSendGridAutoConfiguration
java.lang.Object
org.apereo.cas.config.CasSendGridAutoConfiguration
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
@ConditionalOnFeatureEnabled(feature=Notifications,
module="sendgrid")
@AutoConfiguration
public class CasSendGridAutoConfiguration
extends Object
This is
CasSendGridAutoConfiguration.- Since:
- 7.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.notifications.mail.EmailSenderemailSender(org.springframework.context.MessageSource messageSource, com.sendgrid.SendGridAPI sendGridAPI)
-
Constructor Details
-
CasSendGridAutoConfiguration
public CasSendGridAutoConfiguration()
-
-
Method Details
-
emailSender
@Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="sendGridEmailSender") public org.apereo.cas.notifications.mail.EmailSender emailSender(@Qualifier("messageSource") org.springframework.context.MessageSource messageSource, @Qualifier("sendGrid") com.sendgrid.SendGridAPI sendGridAPI)
-