Added spring security support.