Package io.jans.as.server.servlet
Class OpenIdConfiguration
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- io.jans.as.server.servlet.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
-
-
Constructor Summary
Constructors Constructor Description OpenIdConfiguration()
-
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 HTTPGET
method.protected void
doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPPOST
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 HTTPGET
andPOST
methods.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse httpResponse) throws IOException
Processes requests for both HTTPGET
andPOST
methods.- Parameters:
servletRequest
- servlet requesthttpResponse
- servlet response- Throws:
IOException
-
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 HTTPGET
method.- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- 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 HTTPPOST
method.- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- 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 interfacejakarta.servlet.Servlet
- Overrides:
getServletInfo
in classjakarta.servlet.GenericServlet
- Returns:
- a String containing servlet description
-
-