public interface NuxeoExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_HANDLER_MARKER |
Modifier and Type | Method and Description |
---|---|
String |
getLoginURL(javax.servlet.http.HttpServletRequest request)
Gets the URL to redirect to when a login is needed for an Anonymous user.
|
boolean |
handleAnonymousException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the Security Error when the user is anonymous.
|
void |
handleException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable t) |
void |
setParameters(NuxeoExceptionHandlerParameters parameters) |
static final String EXCEPTION_HANDLER_MARKER
void handleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
void setParameters(NuxeoExceptionHandlerParameters parameters)
boolean handleAnonymousException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
true
if the Security Error is handled so that the calling method won't fallback on the default
handler, false
otherwise.IOException
javax.servlet.ServletException
String getLoginURL(javax.servlet.http.HttpServletRequest request)
Copyright © 2016 Nuxeo SA. All rights reserved.