Providing both Java and XML configuration support requires higher maintenance overhead. We should consider removing XML configuration support in Spring Security 7.0, to help reduce the maintenance and support overhead.

Related gh-13266

Comment From: rwinch

I do not think we will do this unless Spring Framework does the same.