Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1501

http.exceptionHandler() deprecated and removed in spring 6.2

$
0
0

I am trying to set up HttpSecurity in Spring 6.1.2 and I need to add jwtEntrypoint to it but I discovered

protected void configure(HttpSecurity http) throws Exception {    http.cors().and().csrf().disable();    http.exceptionHandling().authenticationEntryPoint(jwtAuthenticationEntryPoint);has been removed

I tried http.exceptionHandling().authenticationEntryPoint(jwtAuthenticationEntryPoint); as seen in some answers but it still doesnt work


Viewing all articles
Browse latest Browse all 1501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>