Class SPSingleLogoutServiceSOAP

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

    public class SPSingleLogoutServiceSOAP
    extends jakarta.servlet.http.HttpServlet
    This class SPSingleLogoutServiceSOAP receives and processes single logout request using SOAP binding on SP side.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void doPost​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)  
      void init()  
      jakarta.xml.soap.SOAPMessage onMessage​(jakarta.xml.soap.SOAPMessage message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String realm, String spEntityID)
      Process the incoming SOAP message containing the LogoutRequest and generates outgoing SOAP message containing the LogoutResponse on SP side.
      • Methods inherited from class jakarta.servlet.http.HttpServlet

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

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

      • SPSingleLogoutServiceSOAP

        public SPSingleLogoutServiceSOAP()
    • Method Detail

      • init

        public void init()
                  throws jakarta.servlet.ServletException
        Overrides:
        init in class jakarta.servlet.GenericServlet
        Throws:
        jakarta.servlet.ServletException
      • doPost

        public void doPost​(jakarta.servlet.http.HttpServletRequest req,
                           jakarta.servlet.http.HttpServletResponse resp)
                    throws jakarta.servlet.ServletException,
                           IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • onMessage

        public jakarta.xml.soap.SOAPMessage onMessage​(jakarta.xml.soap.SOAPMessage message,
                                                      jakarta.servlet.http.HttpServletRequest request,
                                                      jakarta.servlet.http.HttpServletResponse response,
                                                      String realm,
                                                      String spEntityID)
        Process the incoming SOAP message containing the LogoutRequest and generates outgoing SOAP message containing the LogoutResponse on SP side.
        Parameters:
        message - incoming SOAP message.
        request - HTTP servlet request.
        response - HTTP servlet response.
        realm - realm of the hosted SP.
        spEntityID - Entity ID of the hosted SP.
        Returns:
        SOAP message containing the outgoing LogoutResponse.