@ConditionalOnMissingBean(name = "cloudDirectoryAuthenticationEventExecutionPlanConfigurer")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public AuthenticationEventExecutionPlanConfigurer cloudDirectoryAuthenticationEventExecutionPlanConfigurer(
        @Qualifier("cloudDirectoryAuthenticationHandler")
        final AuthenticationHandler cloudDirectoryAuthenticationHandler,
        @Qualifier(PrincipalResolver.BEAN_NAME_PRINCIPAL_RESOLVER)
        final PrincipalResolver defaultPrincipalResolver) {
        return plan -> plan.registerAuthenticationHandlerWithPrincipalResolver(
            cloudDirectoryAuthenticationHandler, defaultPrincipalResolver);
    }
This is {@link CasCloudDirectoryAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/config/CasCloudDirectoryAuthenticationAutoConfiguration.java