Class 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

    • Constructor Detail

      • OA2ClientExceptionHandler

        public OA2ClientExceptionHandler​(ClientServlet clientServlet,
                                         edu.uiuc.ncsa.security.core.util.MyLoggingFacade myLogger)
    • Method Detail

      • handleException

        public void handleException​(Throwable t,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
                             throws IOException,
                                    javax.servlet.ServletException
        Specified by:
        handleException in interface edu.uiuc.ncsa.security.servlet.ExceptionHandler
        Overrides:
        handleException in class ClientExceptionHandler
        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 -