Class OpenIdConfiguration

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    @WebServlet(urlPatterns="/.well-known/openid-configuration",
                loadOnStartup=10)
    public class OpenIdConfiguration
    extends jakarta.servlet.http.HttpServlet
    Version:
    September 30, 2021
    Author:
    Javier Rojas Blum, Yuriy Movchan
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handles the HTTP GET method.
      protected void doPost​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Handles the HTTP POST method.
      static void filterOutKeys​(org.json.JSONObject jsonObj, io.jans.as.model.configuration.AppConfiguration appConfiguration)  
      List<String> getAcrValuesList()  
      static List<String> getAcrValuesList​(List<String> scriptAliases)  
      String getServletInfo()
      Returns a short description of the servlet.
      protected void processRequest​(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
      Processes requests for both HTTP GET and POST methods.
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
    • Constructor Detail

      • OpenIdConfiguration

        public OpenIdConfiguration()
    • Method Detail

      • processRequest

        protected void processRequest​(jakarta.servlet.http.HttpServletRequest servletRequest,
                                      jakarta.servlet.http.HttpServletResponse httpResponse)
                               throws IOException
        Processes requests for both HTTP GET and POST methods.
        Parameters:
        servletRequest - servlet request
        httpResponse - servlet response
        Throws:
        IOException
      • getAcrValuesList

        public List<String> getAcrValuesList()
      • filterOutKeys

        public static void filterOutKeys​(org.json.JSONObject jsonObj,
                                         io.jans.as.model.configuration.AppConfiguration appConfiguration)
      • doGet

        protected void doGet​(jakarta.servlet.http.HttpServletRequest request,
                             jakarta.servlet.http.HttpServletResponse response)
                      throws IOException
        Handles the HTTP GET method.
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet
        Parameters:
        request - servlet request
        response - servlet response
        Throws:
        IOException - if an I/O error occurs
      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest request,
                              jakarta.servlet.http.HttpServletResponse response)
                       throws IOException
        Handles the HTTP POST method.
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Parameters:
        request - servlet request
        response - servlet response
        Throws:
        IOException - if an I/O error occurs
      • getServletInfo

        public String getServletInfo()
        Returns a short description of the servlet.
        Specified by:
        getServletInfo in interface jakarta.servlet.Servlet
        Overrides:
        getServletInfo in class jakarta.servlet.GenericServlet
        Returns:
        a String containing servlet description