set configuration to spring-security