Class RFC8628AuthorizationServer

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class RFC8628AuthorizationServer
    extends EnvServlet

    Created by Jeff Gaynor
    on 2/12/21 at 6:19 AM

    See Also:
    Serialized Form
    • Constructor Detail

      • RFC8628AuthorizationServer

        public RFC8628AuthorizationServer()
    • Method Detail

      • getInitialPage

        protected String getInitialPage()
      • getRemoteUserInitialPage

        protected String getRemoteUserInitialPage()
      • getOkPage

        protected String getOkPage()
      • getFailPage

        protected String getFailPage()
      • storeUpdates

        public void storeUpdates()
                          throws IOException,
                                 SQLException
        Description copied from class: EnvServlet
        This will be invoked at init before anything else and should include code to seamlessly upgrade stores from earlier versions. For instance, if a new column needs to be added to a table. This pre-supposes that the current user has the correct permissions to alter the table, btw. This also updates the internal flag EnvServlet.storeUpdatesDone which should be checks in overrides. If you override this method and call super, let super manage this flag. If it is true, do not execute your method.
        Specified by:
        storeUpdates in class EnvServlet
        Throws:
        IOException
        SQLException
      • getServiceEnvironment

        protected OA2SE getServiceEnvironment()
      • prepare

        public void prepare​(edu.uiuc.ncsa.security.servlet.PresentableState state)
                     throws Throwable
        Throws:
        Throwable
      • doIt

        protected void doIt​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws Throwable
        Specified by:
        doIt in class edu.uiuc.ncsa.security.servlet.AbstractServlet
        Throws:
        Throwable
      • processRequest

        protected void processRequest​(javax.servlet.http.HttpServletRequest request,
                                      RFC8628AuthorizationServer.PendingState pendingState,
                                      boolean checkCount)
                               throws Throwable
        This is where the user's log in is actually processed and the values they sent are checked.
        Parameters:
        request -
        pendingState -
        checkCount -
        Throws:
        Throwable
      • present

        public void present​(edu.uiuc.ncsa.security.servlet.PresentableState state)
                     throws Throwable
        Throws:
        Throwable
      • cleanupPending

        protected void cleanupPending()