@ConditionalOnMissingBean(name = "oktaAttributeRepositoryPlanConfigurer")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public PersonDirectoryAttributeRepositoryPlanConfigurer oktaAttributeRepositoryPlanConfigurer(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("oktaPersonAttributeDaos")
        final BeanContainer<PersonAttributeDao> oktaPersonAttributeDaos) {
        return BeanSupplier.of(PersonDirectoryAttributeRepositoryPlanConfigurer.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> plan -> oktaPersonAttributeDaos.toList().forEach(plan::registerAttributeRepository))
            .otherwiseProxy()
            .get();
    }
This is {@link OktaPersonDirectoryConfiguration}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-okta-authentication/src/main/java/org/apereo/cas/config/OktaPersonDirectoryConfiguration.java