Added initial Spring security support.