Error : The number of beans implementing 'I18NProvider' is 0. Cannot use Spring beans for I18N, fall

i’m using security just to login, but now in memory to develop i’ll implement roles and users funcionality later

https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html

it worked !

when i use

httpSecurity.authorizeHttpRequests().requestMatchers(new AntPathRequestMatcher("/api/**"))
            .permitAll();

now i just need how to implement using new way !

thx guys

Perfect!!! if you want to remove the deprecated warning replace for this

httpSecurity.authorizeHttpRequests(auth → auth.requestMatchers(new AntPathRequestMatcher(“/api/**”))
.permitAll());

Thank too much guys !

Thanks Marco for asking the obvious question :grimacing: :man_bowing: