static boolean isGuiceVersion3() {
        try {
            Class.forName("com.google.inject.multibindings.MapKey");
            return false;
        } catch (ClassNotFoundException e) {
            return true;
        }
    }
Filter configuration which pairs a Filter class with its configuration used on a path.

@param <T> The Servlet Filter class.
@since 1.4
support/guice/src/main/java/org/apache/shiro/guice/web/ShiroWebModule.java