Package org.apereo.cas.config
Class CasCoreNotificationsConfiguration
- java.lang.Object
-
- org.apereo.cas.config.CasCoreNotificationsConfiguration
-
@EnableScheduling @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) @ConditionalOnFeatureEnabled(feature=Notifications) @AutoConfiguration public class CasCoreNotificationsConfiguration extends java.lang.ObjectThis isCasCoreNotificationsConfiguration.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description CasCoreNotificationsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommunicationsManagercommunicationsManager(org.springframework.context.HierarchicalMessageSource messageSource, org.springframework.beans.factory.ObjectProvider<org.springframework.mail.javamail.JavaMailSender> mailSender, SmsSender smsSender, NotificationSender notificationSender)NotificationSendernotificationSender(org.springframework.beans.factory.ObjectProvider<java.util.List<NotificationSenderExecutionPlanConfigurer>> configurerProviders)SmsSendersmsSender(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
-
-
Method Detail
-
communicationsManager
@Bean @ConditionalOnMissingBean(name="communicationsManager") @RefreshScope(proxyMode=DEFAULT) public CommunicationsManager communicationsManager(@Qualifier("messageSource") org.springframework.context.HierarchicalMessageSource messageSource, @Qualifier("mailSender") org.springframework.beans.factory.ObjectProvider<org.springframework.mail.javamail.JavaMailSender> mailSender, @Qualifier("smsSender") SmsSender smsSender, @Qualifier("notificationSender") NotificationSender notificationSender)
-
smsSender
@Bean @ConditionalOnMissingBean(name="smsSender") @RefreshScope(proxyMode=DEFAULT) public SmsSender smsSender(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
notificationSender
@Bean @ConditionalOnMissingBean(name="notificationSender") @RefreshScope(proxyMode=DEFAULT) public NotificationSender notificationSender(org.springframework.beans.factory.ObjectProvider<java.util.List<NotificationSenderExecutionPlanConfigurer>> configurerProviders)
-
-