@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "apnMessagingNotificationSender")
    public NotificationSender apnMessagingNotificationSender(
        final CasConfigurationProperties casProperties,
        @Qualifier("apnsClient")
        final ApnsClient apnsClient) {
        return new APNMessagingNotificationSender(apnsClient, casProperties.getApnMessaging());
    }
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