Description
Expected Behavior
Is it possible to have a more detailled documentation about the difference betwenn new requestMatchers and securityMatchers ?
Current Behavior
After reading this : https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-security-matchers
there is :
In Spring Security 5.8, the antMatchers, mvcMatchers, and regexMatchers methods were deprecated in favor of new requestMatchers methods.
and
In Spring Security 5.8, the antMatchers, mvcMatchers and requestMatchers methods from HttpSecurity were deprecated in favor of new securityMatchers methods.
It's a little confusing.
Is there any documentation that explains the difference with examples and may be samples with an equivalent with xml configuration to have another view ?
By reading the current documentation, I don't understand when to use securityMatchers
How securityMatchers
is different from requestMatchers
?
Context
Thank you very much for your help.
Best regards,