spring-security-oauth2-resource-server
spring-security-oauth2-resource-server copied to clipboard
MockMvc Test Support
I'm not sure exactly what we will need for this, but we should provide MockMvc support. One thing that is likely needed is the ability to easily create Authentication objects
What has been added so far is a set of request post processors for adding the bearer token to the Authorization header: https://github.com/jzheaux/spring-security-oauth2-resource-server/blob/master/samples/boot/oauth2/utilities/src/main/java/support/ResourceServerMockMvcRequestPostProcessors.java