SEC-1404: Updated test for placeholders in intercept-url elements to check they work for filter='none' elements
This commit is contained in:
parent
81657d0efc
commit
5753d69465
|
@ -344,10 +344,12 @@ public class HttpSecurityBeanDefinitionParserTests {
|
||||||
"<b:bean class='org.springframework.beans.factory.config.PropertyPlaceholderConfigurer'/>" +
|
"<b:bean class='org.springframework.beans.factory.config.PropertyPlaceholderConfigurer'/>" +
|
||||||
"<http>" +
|
"<http>" +
|
||||||
" <intercept-url pattern='${secure.Url}' access='${secure.role}' />" +
|
" <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}' " +
|
" <form-login login-page='${login.page}' default-target-url='${default.target}' " +
|
||||||
" authentication-failure-url='${auth.failure}' />" +
|
" authentication-failure-url='${auth.failure}' />" +
|
||||||
"</http>" + AUTH_PROVIDER_XML);
|
"</http>" + AUTH_PROVIDER_XML);
|
||||||
checkPropertyValues() ;
|
checkPropertyValues();
|
||||||
|
assertEquals(0, getFilters("/loginPage").size());
|
||||||
}
|
}
|
||||||
|
|
||||||
// SEC-1309
|
// SEC-1309
|
||||||
|
|
Loading…
Reference in New Issue