Class ShibbolethSecurityExceptionHandler
java.lang.Object
org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
org.nuxeo.ecm.platform.shibboleth.auth.exceptionhandling.ShibbolethSecurityExceptionHandler
- All Implemented Interfaces:
NuxeoExceptionHandler
- Author:
- Thomas Roger
-
Field Summary
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
-
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.protected Principal
getPrincipal
(javax.servlet.http.HttpServletRequest request) Methods inherited from class org.nuxeo.ecm.platform.web.common.exceptionhandling.DefaultNuxeoExceptionHandler
getExceptionMessage, getHandler, handleAnonymousException, handleException, setParameters, startHandlingException, writeExceptionAsJson
-
Constructor Details
-
ShibbolethSecurityExceptionHandler
public ShibbolethSecurityExceptionHandler()
-
-
Method Details
-
getLoginURL
Description copied from interface:NuxeoExceptionHandler
Gets the URL to redirect to when a login is needed for an Anonymous user.- Specified by:
getLoginURL
in interfaceNuxeoExceptionHandler
- Overrides:
getLoginURL
in classDefaultNuxeoExceptionHandler
-
getPrincipal
- Overrides:
getPrincipal
in classDefaultNuxeoExceptionHandler
-