public class NuxeoSecurityExceptionHandler extends DefaultNuxeoExceptionHandler
If it isn't a security exception, or if the user is not anonymous, this handler ends up using DefaultNuxeoExceptionHandler.
| Modifier and Type | Field and Description |
|---|---|
protected PluggableAuthenticationService |
service |
parametersEXCEPTION_HANDLER_MARKER| Constructor and Description |
|---|
NuxeoSecurityExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected PluggableAuthenticationService |
getAuthenticationService() |
protected 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) |
getHandler, getUserMessage, setParameters, startHandlingException, unwrapExceptionprotected PluggableAuthenticationService service
public NuxeoSecurityExceptionHandler()
public void handleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t) throws IOException, javax.servlet.ServletException
handleException in interface NuxeoExceptionHandlerhandleException in class DefaultNuxeoExceptionHandlerIOExceptionjavax.servlet.ServletExceptionprotected 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.IOExceptionjavax.servlet.ServletExceptionprotected PluggableAuthenticationService getAuthenticationService() throws javax.servlet.ServletException
javax.servlet.ServletExceptionCopyright © 2015 Nuxeo SA. All rights reserved.