Disable DispatcherServlet shouldHandleFailure

This change broke a Spring Security sample, reverting it.

See gh-13511
pull/14030/merge
Brian Clozel 6 years ago
parent f2511b7fa3
commit ab1f5931a0

@ -98,7 +98,6 @@ public class DispatcherServletAutoConfiguration {
@Bean(name = DEFAULT_DISPATCHER_SERVLET_BEAN_NAME)
public DispatcherServlet dispatcherServlet() {
DispatcherServlet dispatcherServlet = new DispatcherServlet();
dispatcherServlet.setShouldHandleFailure(true);
dispatcherServlet.setDispatchOptionsRequest(
this.webMvcProperties.isDispatchOptionsRequest());
dispatcherServlet.setDispatchTraceRequest(

Loading…
Cancel
Save