Package org.oa4mp.client.loader.servlet
Class OA2ClientExceptionHandler
- java.lang.Object
-
- org.oa4mp.client.api.servlet.ClientExceptionHandler
-
- org.oa4mp.client.loader.servlet.OA2ClientExceptionHandler
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.servlet.ExceptionHandler
public class OA2ClientExceptionHandler extends ClientExceptionHandler
Created by Jeff Gaynor
on 2/12/15 at 1:16 PM
-
-
Field Summary
-
Fields inherited from class org.oa4mp.client.api.servlet.ClientExceptionHandler
clientServlet
-
-
Constructor Summary
Constructors Constructor Description OA2ClientExceptionHandler(ClientServlet clientServlet, edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
defaultSCXresponse(edu.uiuc.ncsa.security.servlet.ServiceClientHTTPException tt, javax.servlet.http.HttpServletRequest request)
Used in cases the response from the server cannot be parsed.void
handleException(edu.uiuc.ncsa.security.servlet.ExceptionHandlerThingie xh)
protected void
parseContent(String content, javax.servlet.http.HttpServletRequest request)
This will parse the standard error reponse from an OIDC server.-
Methods inherited from class org.oa4mp.client.api.servlet.ClientExceptionHandler
getLogger, getNormalizedContextPath
-
-
-
-
Constructor Detail
-
OA2ClientExceptionHandler
public OA2ClientExceptionHandler(ClientServlet clientServlet, edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger)
-
-
Method Detail
-
handleException
public void handleException(edu.uiuc.ncsa.security.servlet.ExceptionHandlerThingie xh) throws IOException, javax.servlet.ServletException
- Specified by:
handleException
in interfaceedu.uiuc.ncsa.security.servlet.ExceptionHandler
- Overrides:
handleException
in classClientExceptionHandler
- Throws:
IOException
javax.servlet.ServletException
-
parseContent
protected void parseContent(String content, javax.servlet.http.HttpServletRequest request)
This will parse the standard error reponse from an OIDC server.- Parameters:
content
-request
-
-
defaultSCXresponse
protected void defaultSCXresponse(edu.uiuc.ncsa.security.servlet.ServiceClientHTTPException tt, javax.servlet.http.HttpServletRequest request)
Used in cases the response from the server cannot be parsed.- Parameters:
tt
-request
-
-
-