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

Line ending issue with Mercurial or Visual Studio -

python - Received unregistered task using Celery with Django -

php - Retrieving data submitted with Yii's CActiveForm -