#22848126557897: Fixing Compilation Error because Refactor of Spring Security Mongo