Interface NuxeoExceptionHandler
- All Known Implementing Classes:
DefaultNuxeoExceptionHandler
,SecurityExceptionHandler
,ShibbolethSecurityExceptionHandler
public interface NuxeoExceptionHandler
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLoginURL
(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)
-
Field Details
-
EXCEPTION_HANDLER_MARKER
- See Also:
-
-
Method Details
-
handleException
void handleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
setParameters
-
handleAnonymousException
boolean handleAnonymousException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException Handles the Security Error when the user is anonymous.- Returns:
true
if the Security Error is handled so that the calling method won't fallback on the default handler,false
otherwise.- Throws:
IOException
javax.servlet.ServletException
- Since:
- 8.3
-
getLoginURL
Gets the URL to redirect to when a login is needed for an Anonymous user.- Since:
- 8.3
-