spring security error handling with JSON response
I'm using spring security 3.1 and Spring 3.2 for REST services. I'm
struggling to make every response be JSON e.g. if user tries to access
some resource but is not yet authenticated. Also if user make wrong
request I want to return JSON with error message.
No comments:
Post a Comment