addapt for spring-security-core:2.0-RC2