mongodb + spring-security config