@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "grouperPersonDirectoryAttributeRepositoryPlanConfigurer")
        public PersonDirectoryAttributeRepositoryPlanConfigurer grouperPersonDirectoryAttributeRepositoryPlanConfigurer(
            @Qualifier("grouperAttributeRepositories")
            final BeanContainer<PersonAttributeDao> grouperAttributeRepositories) {
            return plan -> {
                val results = grouperAttributeRepositories.toList()
                    .stream()
                    .filter(PersonAttributeDao::isEnabled)
                    .collect(Collectors.toList());
                plan.registerAttributeRepositories(results);
            };
        }
This is {@link CasPersonDirectoryGrouperConfiguration}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-grouper/src/main/java/org/apereo/cas/config/CasPersonDirectoryGrouperConfiguration.java