Related to https://github.com/spring-projects/spring-security/issues/9697

Comment From: hmmlopez

This ticket would be very handy as I also bumped into it, and couldn't figure it out with current documentation.