json - Spring Security REST error response -


i've been trying figure 1 out last couple of days now. using spring security oauth module. i'm trying find can override spring security responding exception this:

{ "error":"unauthorized", "error_description":"you must logged in access resource" } 

and format returned json more in line our other responses this.

{ "error":"unauthorized", "error_user_message":"you must logged in access resource", "error_developer_message": "some descriptive message", "error_internal_code": 10044 } 


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -