Closed benstrydom closed 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));
http.exceptionHandling().authenticationEntryPoint(unauthorizedEntryPoint);
http.exceptionHandling(customizer -> customizer.authenticationEntryPoint(unauthorizedEntryPoint));
http.exceptionHandling().accessDeniedHandler(accessDeniedHandler);
with http.exceptionHandling(customizer -> customizer.accessDeniedHandler(accessDeniedHandler));
Thanks for letting me know!
Documentation 4.4.0 Section 3.9.1 and 3.9.2 Replace
http.exceptionHandling().authenticationEntryPoint(unauthorizedEntryPoint);
withhttp.exceptionHandling(customizer -> customizer.authenticationEntryPoint(unauthorizedEntryPoint));
andhttp.exceptionHandling().accessDeniedHandler(accessDeniedHandler);
with http.exceptionHandling(customizer -> customizer.accessDeniedHandler(accessDeniedHandler));