@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "ldapPasswordlessUserAccountStore")
    public BeanSupplier<PasswordlessUserAccountStore> ldapPasswordlessUserAccountStore(
        final List<PasswordlessUserAccountCustomizer> customizerList,
        final ConfigurableApplicationContext applicationContext,
        final CasConfigurationProperties casProperties) {
        return BeanSupplier.of(PasswordlessUserAccountStore.class)
            .when(BeanCondition.on("cas.authn.passwordless.accounts.ldap.ldap-url").given(applicationContext.getEnvironment()))
            .supply(() -> {
                val ldap = casProperties.getAuthn().getPasswordless().getAccounts().getLdap();
                val connectionFactory = LdapUtils.newLdaptivePooledConnectionFactory(ldap);
                return new LdapPasswordlessUserAccountStore(new LdapConnectionFactory(connectionFactory),
                    ldap, applicationContext, customizerList);
            })
            .otherwiseNull();
    }
This is {@link CasLdapPasswordlessAuthenticationAutoConfiguration}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-passwordless-ldap/src/main/java/org/apereo/cas/config/CasLdapPasswordlessAuthenticationAutoConfiguration.java