@Override
    public PropertySource load(final Resource resource,
                               final Environment environment,
                               final String name,
                               final CipherExecutor<String, String> configurationCipherExecutor) {
        val props = new Properties();
        try (val is = resource.getInputStream()) {
            LOGGER.debug("Located CAS configuration file at [{}]", resource);
            props.load(is);
            LOGGER.debug("Found settings [{}] in file [{}]", props.keySet(), resource);
            props.putAll(decryptProperties(configurationCipherExecutor, props));
        } catch (final Exception e) {
            LoggingUtils.warn(LOGGER, e);
        }
        return finalizeProperties(name, props);
    }
This is {@link SimpleConfigurationPropertiesLoader}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-configuration-api/src/main/java/org/apereo/cas/configuration/loader/SimpleConfigurationPropertiesLoader.java