posted 14 years ago
Hi guys
I have the an Authorization Interceptor that only allows something to proceed if it it has the correct role.
This is implemented as follows:
Here is a simple example of something that the interceptor will go around.
This works correctly, however the Application Server returns a HTTP 500 exception.
How would I make the server return a HTTP 401 (Unauthorised) Exception instead of the 501?
There is no insanity so devastating in man's life as utter sanity