Class SecurityExceptionHandler
- java.lang.Object
-
- org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
-
- org.nuxeo.ecm.platform.ui.web.auth.cas2.SecurityExceptionHandler
-
- All Implemented Interfaces:
NuxeoExceptionHandler
public class SecurityExceptionHandler extends DefaultNuxeoExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringCAS_REDIRECTION_URLstatic StringCOOKIE_NAME_LOGOUT_URL-
Fields inherited from class org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
MAPPER, parameters
-
Fields inherited from interface org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionHandler
EXCEPTION_HANDLER_MARKER
-
-
Constructor Summary
Constructors Constructor Description SecurityExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Cas2AuthenticatorgetCasAuthenticator()protected StringgetURLToReach(javax.servlet.http.HttpServletRequest request)voidhandleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t)-
Methods inherited from class org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
getExceptionMessage, getHandler, getLoginURL, getPrincipal, handleAnonymousException, setParameters, startHandlingException, writeExceptionAsJson
-
-
-
-
Field Detail
-
CAS_REDIRECTION_URL
public static final String CAS_REDIRECTION_URL
- See Also:
- Constant Field Values
-
COOKIE_NAME_LOGOUT_URL
public static final String COOKIE_NAME_LOGOUT_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleException
public void handleException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Throwable t) throws IOException, javax.servlet.ServletException- Specified by:
handleExceptionin interfaceNuxeoExceptionHandler- Overrides:
handleExceptionin classDefaultNuxeoExceptionHandler- Throws:
IOExceptionjavax.servlet.ServletException
-
getCasAuthenticator
protected Cas2Authenticator getCasAuthenticator()
-
getURLToReach
protected String getURLToReach(javax.servlet.http.HttpServletRequest request)
-
-