csrf.addFilterBefore(jwtFilter, clazz).authorizeHttpRequests(auth ->
{
auth.requestMatchers(HttpMethod.POST, "/api/v1/user/login").anonymous();
auth.requestMatchers(HttpMethod.GET,"/api/v1/user/logout").permitAll();
auth.anyRequest().authenticated();
});
csrf.addFilterBefore(jwtFilter, clazz).authorizeHttpRequests(auth ->
{
auth.requestMatchers(HttpMethod.POST, "/api/v1/user/login").anonymous();
auth.requestMatchers(HttpMethod.GET,"/api/v1/user/logout").permitAll();
auth.anyRequest().authenticated();
});