public static Map<String, String> getFilterInitParams( Document webXml, String filterName )
    {
        return getInitParams( "filter", webXml, filterName );
    }
@Test
    public void testGetFilterInitParams() throws Exception
    {
        // Setup fixture.
        final Document webXml = WebXmlUtils.asDocument( new File( Objects.requireNonNull(WebXmlUtilsTest.class.getResource("/org/jivesoftware/util/test-web.xml")).toURI() ) );
        final String filterName = "AuthCheck";

        // Execute system under test.
        final Map<String, String> result = WebXmlUtils.getFilterInitParams( webXml, filterName );

        // Verify result.
        assertNotNull( result );
        assertEquals( 1, result.size() );
        assertEquals( "login.jsp,index.jsp?logout=true,setup/index.jsp,setup/setup-admin-settings.jsp,setup/setup-completed.jsp,setup/setup-datasource-jndi.jsp,setup/setup-datasource-settings.jsp,setup/setup-datasource-standard.jsp,setup/setup-finished.jsp,setup/setup-host-settings.jsp,setup/setup-ldap-group.jsp,setup/setup-ldap-server.jsp,setup/setup-ldap-user.jsp,setup/setup-profile-settings.jsp,.gif,.png,error-serverdown.jsp,loginToken.jsp", result.get("excludes") );
    }