title: Trying to protect resources with OAuth in Spring MVC
body: <p>We already have REST web services written in Java on Spring MVC and I have been trying to protect them.</p>
  
  <p>The OAuth server is implemented in another website which handles the logging in and creation of the Access Token. I need therefore to verify that the access token is correct before giving the users access to the webservices.</p>
  
  <p>However the documentation for Spring Security with OAuth seems to be really poor, and the example code doesn't actually explain what it is doing! I am not even sure if I should be implementing it for this, as it should be such a simple check.</p>
  
  <p>What is the best way to go about protecting these web services? And what is the best way to get started?</p>
  
  <p>Thanks for you help.</p>