resource-server-testing For http://stackoverflow.com/questions/29510759/how-to-test-spring-security-oauth2-resource-server-security/31434559#31434559 Update: Pivotal Engineers have since tackled the same issue here: http://engineering.pivotal.io/post/faking_oauth_sso/