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
1 changed files with 3 additions and 1 deletions

View File

@ -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