Integrate Spring Security through data layer.