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
public class ShibbolethSecurityExceptionHandler extends DefaultNuxeoExceptionHandler
- 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
Constructors Constructor Description ShibbolethSecurityExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLoginURL(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
-
-
-
-
Method Detail
-
getLoginURL
public String getLoginURL(javax.servlet.http.HttpServletRequest request)
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
protected Principal getPrincipal(javax.servlet.http.HttpServletRequest request)
- Overrides:
getPrincipal
in classDefaultNuxeoExceptionHandler
-
-