Integrate with Spring Security.