@Bean
    @ConditionalOnMissingBean(name = "apnNotificationSenderExecutionPlanConfigurer")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public NotificationSenderExecutionPlanConfigurer apnNotificationSenderExecutionPlanConfigurer(
        @Qualifier("apnMessagingNotificationSender")
        final NotificationSender apnMessagingNotificationSender) {
        return () -> apnMessagingNotificationSender;
    }
This is {@link CasAPNMessagingAutoConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-notifications-apn/src/main/java/org/apereo/cas/config/CasAPNMessagingAutoConfiguration.java