return new Security(authenticationManager, accessDecisionManager, applicationContext);
}
@Bean
SpringSecurityViewProviderAccessDelegate viewProviderAccessDelegate() {
return new SpringSecurityViewProviderAccessDelegate(security(), applicationContext);
}