title: Customize auth error from Spring Security using OAuth2
body: <p>I was wondering if I could customize the following authorization error:</p>
  
  <pre><code>{
    "error": "unauthorized",
    "error_description": "Full authentication is required to access this resource"
  }
  </code></pre>
  
  <p>I get it when the user request does not have permissions. And I would like to customize it to be quite similar than Spring Boot error:</p>
  
  <pre><code>{
   "timestamp":1445441285803,
   "status":401,
   "error":"Unauthorized",
   "message":"Bad credentials",
   "path":"/oauth/token"
  }
  </code></pre>
  
  <p>Could it be possible?</p>
  
  <p>Many thanks.</p>