protected void setUp() throws Exception {
super.setUp();
applicationContext = new ClassPathXmlApplicationContext(
"org/springframework/richclient/security/security-test-configurer-ctx.xml" );
Application.load( null );
Application app = new Application( new DefaultApplicationLifecycleAdvisor() );
app.setApplicationContext( applicationContext );
securityManager = (ApplicationSecurityManager)ApplicationServicesLocator.services().getService(ApplicationSecurityManager.class);
authAwareBean = (AuthAwareBean) applicationContext.getBean( "authAwareBean" );
loginAwareBean = (LoginAwareBean) applicationContext.getBean( "loginAwareBean" );