org.nuxeo.ecm.platform.web.common.exceptionhandling
Class NuxeoSecurityExceptionHandler
java.lang.Object
org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoSecurityExceptionHandler
- All Implemented Interfaces:
- NuxeoExceptionHandler
public class NuxeoSecurityExceptionHandler
- extends DefaultNuxeoExceptionHandler
This exception handler adds security error flag in the URL parameters to
ensure the anonymous user will get appropriate error message when being
redirected to login page.
If it isn't a security exception, or if the user is not anonymous, this
handler ends up using DefaultNuxeoExceptionHandler.
- Author:
- ldoguin
NuxeoSecurityExceptionHandler
public NuxeoSecurityExceptionHandler()
handleException
public void handleException(HttpServletRequest request,
HttpServletResponse response,
Throwable t)
throws IOException,
ServletException
- Specified by:
handleException
in interface NuxeoExceptionHandler
- Overrides:
handleException
in class DefaultNuxeoExceptionHandler
- Throws:
IOException
ServletException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.