A section similar to https://docs.spring.io/spring-security/reference/migration-7/web.html#use-path-pattern would be helpful.