1
0
mirror of synced 2026-05-22 21:33:16 +00:00

SEC-1404: Updated test for placeholders in intercept-url elements to check they work for filter='none' elements

This commit is contained in:
Luke Taylor
2010-02-10 16:49:53 +00:00
parent 81657d0efc
commit 5753d69465
@@ -344,10 +344,12 @@ public class HttpSecurityBeanDefinitionParserTests {
"<b:bean class='org.springframework.beans.factory.config.PropertyPlaceholderConfigurer'/>" +
"<http>" +
" <intercept-url pattern='${secure.Url}' access='${secure.role}' />" +
" <intercept-url pattern='${login.page}' filters='none' />" +
" <form-login login-page='${login.page}' default-target-url='${default.target}' " +
" authentication-failure-url='${auth.failure}' />" +
"</http>" + AUTH_PROVIDER_XML);
checkPropertyValues() ;
checkPropertyValues();
assertEquals(0, getFilters("/loginPage").size());
}
// SEC-1309