* 测试访问没有与SpringSecurity结合的EndPoint, 调用受SpringSecurity保护的方法, 用<jaxws:client/>创建的Client.
*/
@Test(expected = SOAPFaultException.class)
public void getUserWithSpringSecurityWithoutPermission() {
UserWebService userWebService = (UserWebService) applicationContext.getBean("userServiceWithPlainPassword");
GetUserResult result = userWebService.getUser("1");
assertEquals("admin", result.getUser().getLoginName());
}