Class IDPSSOFederate


  • public class IDPSSOFederate
    extends Object
    This class handles the federation and/or single sign on request from a service provider. It processes the AuthnRequest sent by the service provider and generates a proper Response that contains an Assertion. It sends back a Response containing error status if something is wrong during the request processing.
    • Method Detail

      • doSSOFederate

        public static void doSSOFederate​(jakarta.servlet.http.HttpServletRequest request,
                                         jakarta.servlet.http.HttpServletResponse response,
                                         PrintWriter out,
                                         String reqBinding,
                                         SAML2EventLogger auditor)
        This method processes the AuthnRequest coming from a service provider via HTTP Redirect.
        Parameters:
        request - the HttpServletRequest object
        response - the HttpServletResponse object
        out - the print writer for writing out presentation
        auditor - the auditor for logging SAML2 Events - may be null
      • doSSOFederate

        public static void doSSOFederate​(jakarta.servlet.http.HttpServletRequest request,
                                         jakarta.servlet.http.HttpServletResponse response,
                                         PrintWriter out,
                                         boolean isFromECP,
                                         String reqBinding,
                                         SAML2EventLogger auditor)
                                  throws FederatedSSOException
        This method processes the AuthnRequest coming from a service provider via HTTP Redirect.
        Parameters:
        request - the HttpServletRequest object
        response - the HttpServletResponse object
        out - the print writer for writing out presentation
        isFromECP - true if the request comes from ECP
        auditor - the auditor for logging SAML2 Events - may be null
        Throws:
        FederatedSSOException