Class ProxyCallbackServlet

    • Constructor Detail

      • ProxyCallbackServlet

        public ProxyCallbackServlet()
    • Method Detail

      • doIt

        protected void doIt​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws Throwable
        Processes the callback from the proxy. This will take the proxy's callback and transform it into the correct transaction at our end, then get the access token from the proxy.
        The access token also includes the user's meta data (such as subject) and the is used to populate the username in the server. When this is done, the server is ready to do its callback.
        Overrides:
        doIt in class OA2AuthenticationServer
        Parameters:
        request -
        response -
        Throws:
        Throwable
      • setClientConsentAttributes

        protected String setClientConsentAttributes​(OA2ServiceTransaction t,
                                                    String contextPath)
        Set the parameters for the local consent page. These must be passed as parameters for the redirect, which is a new HTTP request hence can have no state.
        Parameters:
        t -
        contextPath -
        Returns:
      • setClientConsentAttributesOLD

        protected void setClientConsentAttributesOLD​(javax.servlet.http.HttpServletRequest request,
                                                     OA2ServiceTransaction t)