SEC-1589: Add support for property placeholder in intercept-methods access attribute.

This commit is contained in:
Luke Taylor
2010-10-14 13:39:26 +01:00
parent 173537f4f2
commit f70942c6f5
3 changed files with 14 additions and 7 deletions

View File

@@ -25,6 +25,8 @@ public class InterceptMethodsBeanDefinitionDecoratorTests {
@Before
public void loadContext() {
// Set value for placeholder
System.setProperty("admin.role", "ROLE_ADMIN");
appContext = new ClassPathXmlApplicationContext("org/springframework/security/config/method-security.xml");
target = (TestBusinessBean) appContext.getBean("target");
}