@Bean
        @Lazy(false)
        public InitializingBean casPersonDirectoryInitializer(final CasConfigurationProperties casProperties) {
            return () -> FunctionUtils.doIf(LOGGER.isInfoEnabled(), value -> {
                val stub = casProperties.getAuthn().getAttributeRepository().getStub();
                val attrs = stub.getAttributes();
                if (!attrs.isEmpty()) {
                    LOGGER.info("Found and added static attributes [{}] to the list of candidate attribute repositories", attrs.keySet());
                }
            }).accept(null);
        }
This is {@link CasPersonDirectoryConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-person-directory/src/main/java/org/apereo/cas/config/CasPersonDirectoryConfiguration.java