Skip to content

Commit c483a26

Browse files
committed
Don't create RequestContextListener (use auto configuration).
After removing @EnableWebMvc WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.requestContextListener() will create RequestContextListener for us.
1 parent 0f38c83 commit c483a26

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/ru/mystamps/web/support/spring/boot/ApplicationBootstrap.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,4 @@ public FilterRegistrationBean getSpringSecurityFilterChainBindedToError(
6969
return registration;
7070
}
7171

72-
// To expose user's request to AuthenticationFailureListener where we need it for logging
73-
@Bean
74-
public RequestContextListener getRequestContextListener() {
75-
return new RequestContextListener();
76-
}
77-
7872
}

0 commit comments

Comments
 (0)