Class TokenManagerServlet

    • Constructor Detail

      • TokenManagerServlet

        public TokenManagerServlet()
    • Method Detail

      • checkBasic

        protected TokenManagerServlet.State checkBasic​(javax.servlet.http.HttpServletRequest req)
                                                throws Throwable
        This will process a request with basic authorization, peel off the supplied token and resolve it. It will then find the transaction or token exchange (TX) record for the given token.
        Parameters:
        req -
        Returns:
        Throws:
        Throwable
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest httpServletRequest,
                          javax.servlet.http.HttpServletResponse httpServletResponse)
                   throws javax.servlet.ServletException,
                          IOException
        Overrides:
        doGet in class edu.uiuc.ncsa.security.servlet.AbstractServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • getTokenType

        protected int getTokenType​(String token)
      • writeOK

        protected void writeOK​(javax.servlet.http.HttpServletResponse httpServletResponse,
                               net.sf.json.JSONObject resp)
                        throws IOException
        Throws:
        IOException