vaadin4spring
vaadin4spring copied to clipboard
So bad exception handling in VaadinManagedSecurityConfiguration
Absorbed exceptions may cause headaches. At least a logger pls.
VaadinManagedSecurityConfiguration.java:
try {
applicationContext.getBean(AuthenticationManagerConfigurer.class).configure(auth);
} catch (Exception ex) {
throw new IllegalStateException(
"No AuthenticationManagerConfigurer found. Either define one, or override the GlobalMethodSecurity.configure(AuthenticationManagerBuilder) method.");
}
A better idea would probably be to include the original exception