Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a HandlerExceptionResolver for proper Exception to HTTP error mapping #4

Open
sdeleuze opened this issue Oct 11, 2012 · 0 comments

Comments

@sdeleuze
Copy link
Member

At least manage :

  • Authentication required (401) : AuthenticationException. Thrown by spring security when bad credentials are provided
  • Access denied (403) : AccessDeniedException. Thrown by spring security when good credentials are provided but user doesn’t have enough rights for this request

You can use ResthubHandlerExceptionResolver (resthub-web-server) as a template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant