I'm developing a jsf, ejb3, seam application, and when i acess a unathorized ejb method it's prints a exception e return error 500.
How do i make to simple return a 401 error and dont print the exception ???
- Sorry for my english!!!
You have to catch the exception and set the error code.