Spring Security 4.0 removed a number of APIs that were deprecated in 3.x. This commit updates SpringSecurityUtils to avoid using those APIs. This makes it compatible with Spring Security 4.0 while also retaining compatibility with Spring Security 3.2.x. Also, upgrade to Spring Security 3.2.7.RELEASE as the latest point release.