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,java.io.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 voiddoGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTPGETmethod.protected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Handles the HTTPPOSTmethod.static voidfilterOutKeys(org.json.JSONObject jsonObj, io.jans.as.model.configuration.AppConfiguration appConfiguration)java.lang.StringgetServletInfo()Returns a short description of the servlet.protected voidprocessRequest(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse httpResponse)Processes requests for both HTTPGETandPOSTmethods.-
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 java.io.IOExceptionProcesses requests for both HTTPGETandPOSTmethods.- Parameters:
servletRequest- servlet requesthttpResponse- servlet response- Throws:
java.io.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 java.io.IOExceptionHandles the HTTPGETmethod.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
request- servlet requestresponse- servlet response- Throws:
java.io.IOException- if an I/O error occurs
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws java.io.IOExceptionHandles the HTTPPOSTmethod.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request- servlet requestresponse- servlet response- Throws:
java.io.IOException- if an I/O error occurs
-
getServletInfo
public java.lang.String getServletInfo()
Returns a short description of the servlet.- Specified by:
getServletInfoin interfacejakarta.servlet.Servlet- Overrides:
getServletInfoin classjakarta.servlet.GenericServlet- Returns:
- a String containing servlet description
-
-