@Bean
        public static PropertySourceLocator casCoreBootstrapPropertySourceLocator(
            final List<CasConfigurationPropertiesSourceLocator> locatorList,
            final ResourceLoader resourceLoader) {
            AnnotationAwareOrderComparator.sortIfNecessary(locatorList);
            return environment -> {
                val composite = new CompositePropertySource(CasConfigurationPropertiesSourceLocator.BOOTSTRAP_PROPERTY_LOCATOR_BEAN_NAME);
                locatorList
                    .stream()
                    .map(locator -> locator.locate(environment, resourceLoader))
                    .filter(Optional::isPresent)
                    .map(Optional::get)
                    .forEach(composite::addPropertySource);
                return composite;
            };
        }
This is {@link CasCoreBaseStandaloneConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-configuration/src/main/java/org/apereo/cas/config/CasCoreBaseStandaloneConfiguration.java