Package org.apereo.cas.config
Class CasCoreNotificationsAutoConfiguration
java.lang.Object
org.apereo.cas.config.CasCoreNotificationsAutoConfiguration
@EnableScheduling
@EnableConfigurationProperties({org.apereo.cas.configuration.CasConfigurationProperties.class,org.springframework.boot.autoconfigure.mail.MailProperties.class})
@ConditionalOnFeatureEnabled(feature=Notifications)
@AutoConfiguration
public class CasCoreNotificationsAutoConfiguration
extends Object
- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.notifications.CommunicationsManagercommunicationsManager(org.apereo.cas.notifications.sms.SmsSender smsSender, org.apereo.cas.notifications.mail.EmailSender emailSender, org.apereo.cas.notifications.call.PhoneCallOperator phoneCallOperator, org.apereo.cas.notifications.push.NotificationSender notificationSender) org.apereo.cas.notifications.mail.EmailSenderemailSender(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.beans.factory.ObjectProvider<List<org.apereo.cas.notifications.mail.EmailSenderCustomizer>> customizers, org.springframework.boot.autoconfigure.mail.MailProperties mailProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.ssl.SslBundles> sslBundles, org.apereo.cas.multitenancy.TenantExtractor tenantExtractor, org.springframework.context.MessageSource messageSource) org.apereo.cas.notifications.push.NotificationSendernotificationSender(org.springframework.beans.factory.ObjectProvider<List<org.apereo.cas.notifications.push.NotificationSenderExecutionPlanConfigurer>> configurerProviders) org.apereo.cas.notifications.call.PhoneCallOperatorphoneCallOperator(org.apereo.cas.configuration.CasConfigurationProperties casProperties) org.apereo.cas.notifications.sms.SmsSendersmsSender(org.apereo.cas.util.http.HttpClient supportsTrustStoreSslSocketFactoryHttpClient, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
Constructor Details
-
CasCoreNotificationsAutoConfiguration
public CasCoreNotificationsAutoConfiguration()
-
-
Method Details
-
communicationsManager
@Bean @ConditionalOnMissingBean(name="communicationsManager") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.notifications.CommunicationsManager communicationsManager(@Qualifier("smsSender") org.apereo.cas.notifications.sms.SmsSender smsSender, @Qualifier("emailSender") org.apereo.cas.notifications.mail.EmailSender emailSender, @Qualifier("phoneCallOperator") org.apereo.cas.notifications.call.PhoneCallOperator phoneCallOperator, @Qualifier("notificationSender") org.apereo.cas.notifications.push.NotificationSender notificationSender) -
emailSender
@Bean @ConditionalOnMissingBean(name="emailSender") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.notifications.mail.EmailSender emailSender(org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.beans.factory.ObjectProvider<List<org.apereo.cas.notifications.mail.EmailSenderCustomizer>> customizers, org.springframework.boot.autoconfigure.mail.MailProperties mailProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.ssl.SslBundles> sslBundles, @Qualifier("tenantExtractor") org.apereo.cas.multitenancy.TenantExtractor tenantExtractor, @Qualifier("messageSource") org.springframework.context.MessageSource messageSource) -
phoneCallOperator
@Bean @ConditionalOnMissingBean(name="phoneCallOperator") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.notifications.call.PhoneCallOperator phoneCallOperator(org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
smsSender
@Bean @ConditionalOnMissingBean(name="smsSender") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.notifications.sms.SmsSender smsSender(@Qualifier("supportsTrustStoreSslSocketFactoryHttpClient") org.apereo.cas.util.http.HttpClient supportsTrustStoreSslSocketFactoryHttpClient, org.apereo.cas.configuration.CasConfigurationProperties casProperties) -
notificationSender
@Bean @ConditionalOnMissingBean(name="notificationSender") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.notifications.push.NotificationSender notificationSender(org.springframework.beans.factory.ObjectProvider<List<org.apereo.cas.notifications.push.NotificationSenderExecutionPlanConfigurer>> configurerProviders)
-