assertEquals(false, config.isValidationInUrlsWithoutParamsActivated());
}
@Test
public void exclusions() {
HDIVConfig config = configuration.hdivConfig();
assertNotNull(config);
assertEquals(true, config.isStartPage("/attacks/view.html", null));
assertEquals(false, config.isStartPage("/j_spring_security_check", "GET"));
assertEquals(true, config.isStartPage("/", "GET"));
assertEquals(true, config.isParameterWithoutValidation("/attacks/home.html", "param1"));
assertEquals(true, config.isParameterWithoutValidation("/attacks/home.html", "param1234"));
assertEquals(true, config.isParameterWithoutValidation("/attacks/home.html", "param2"));
assertEquals(false, config.isParameterWithoutValidation("/attacks/home.html", "param234"));
assertEquals(false, config.isParameterWithoutValidation("/out/home.html", "param2"));
assertEquals(true, config.isStartParameter("param3"));
assertEquals(true, config.isStartParameter("param34"));
assertEquals(true, config.isStartParameter("param4"));
assertEquals(false, config.isStartParameter("param456"));
}