Manually polish `spring-security-config` following the formatting and checkstyle fixes. Issue gh-8945