This request is simply because we have our own Csrf matcher, but we had to copy this code as part of doing it. would be nicer if we could have just instantiated the needed Default*Csrf*Matcher ourselves instead of rewriting it.

Comment From: jzheaux

Thanks, @xenoterracide. Can you elaborate on your suggestion? You should already be able to access the DefaultRequiresCsrfMatcher using the DEFAULT_CSRF_MATCHER constant:

setRequireCsrfProtectionMatcher(new OrRequestMatcher(myMatcher, DEFAULT_CSRF_MATCHER));

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.