protected static <T extends Filter> FilterConfig<T> filterConfig(Class<T> type, String configValue) {
        return filterConfig(Key.get(type), configValue);
    }
Builds a FilterConfig from a Filer and configuration String

@param type        The filter to be used.
@param configValue the configuration used.
@param <T>         A Servlet Filter class.
@return A FilterConfig used to map a String path to this configuration.
@since 1.4
support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java