static File getStandaloneProfileConfigurationFile(final Environment environment) {
        val values = new LinkedHashSet<>(RelaxedPropertyNames.forCamelCase(PROPERTY_CAS_STANDALONE_CONFIGURATION_FILE).getValues());
        values.add(PROPERTY_CAS_STANDALONE_CONFIGURATION_FILE);

        return values
            .stream()
            .map(key -> environment.getProperty(key, File.class))
            .filter(Objects::nonNull)
            .findFirst()
            .orElse(null);
    }
Gets standalone profile configuration file.

@param environment the environment
@return the standalone profile configuration file
core/cas-server-core-configuration-api/src/main/java/org/apereo/cas/configuration/api/CasConfigurationPropertiesSourceLocator.java