wimdeblauwe / error-handling-spring-boot-starter

Spring Boot starter for configurable REST API error handling
https://wimdeblauwe.github.io/error-handling-spring-boot-starter/
Apache License 2.0
430 stars 52 forks source link

'exceptionHandling()' is deprecated since version 6.1 and marked for removal in 7.0 #100

Closed benstrydom closed 1 month ago

benstrydom commented 1 month ago

Documentation 4.4.0 Section 3.9.1 and 3.9.2 Replace http.exceptionHandling().authenticationEntryPoint(unauthorizedEntryPoint); with http.exceptionHandling(customizer -> customizer.authenticationEntryPoint(unauthorizedEntryPoint)); and http.exceptionHandling().accessDeniedHandler(accessDeniedHandler); with http.exceptionHandling(customizer -> customizer.accessDeniedHandler(accessDeniedHandler));

wimdeblauwe commented 1 month ago

Thanks for letting me know!