@ConditionalOnMissingBean(name = "uniqueAuthenticationPolicy")
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public AuthenticationPolicy uniqueAuthenticationPolicy(
            @Qualifier(SingleSignOnParticipationStrategy.BEAN_NAME)
            final ObjectProvider<SingleSignOnParticipationStrategy> singleSignOnParticipationStrategy,
            @Qualifier(TicketRegistry.BEAN_NAME)
            final TicketRegistry ticketRegistry,
            final CasConfigurationProperties casProperties) {
            return new UniquePrincipalAuthenticationPolicy(ticketRegistry,
                singleSignOnParticipationStrategy,
                casProperties.getAuthn().getPolicy().getUniquePrincipal());
        }
This is {@link CasCoreTicketsConfiguration}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketsConfiguration.java