protected void applyInitParams() throws Exception {
        String config = getInitParam(CONFIG_INI_PARAM_NAME);
        if (config != null) {
            setConfig(config);
        }
        String configPath = getInitParam(CONFIG_PATH_INI_PARAM_NAME);
        if (configPath != null) {
            setConfigPath(configPath);
        }
    }
Sets the config path to be used to load a .ini file for configuration if a configuration is
not specified via the {@link #getConfig() config} attribute.
<p/>
This value is {@code null} by default, but it will be automatically set to the value of the
'{@code configPath}' {@code init-param} if it exists in the {@code FilterConfig} provided by the servlet
container at startup.

@param configPath the config path to be used to load a .ini file for configuration if a configuration is
                  not specified via the {@link #getConfig() config} attribute.
web/src/main/java/org/apache/shiro/web/servlet/IniShiroFilter.java