I've a webapp which uses Jersey and is running on Jetty.
Basically when I'm not authorized, and try to access an invalid resource or rest endpoint, I get the HTTP 401 error.
I would like to remove the resource name from this error which is thrown :
HTTP ERROR: 401
Problem accessing /login. Reason:
Unauthorized
Powered by Jetty://
Can anyone help me by letting me know if there are any standard conf files which I can modify to prevent the resource name (e.g /login) from getting printed?