Package com.sun.identity.saml2.profile
Class IDPSSOFederate
- java.lang.Object
-
- com.sun.identity.saml2.profile.IDPSSOFederate
-
public class IDPSSOFederate extends Object
This class handles the federation and/or single sign on request from a service provider. It processes theAuthnRequestsent by the service provider and generates a properResponsethat contains anAssertion. It sends back aResponsecontaining error status if something is wrong during the request processing.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddoSSOFederate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, boolean isFromECP, String reqBinding, SAML2EventLogger auditor)This method processes theAuthnRequestcoming from a service provider via HTTP Redirect.static voiddoSSOFederate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PrintWriter out, String reqBinding, SAML2EventLogger auditor)This method processes theAuthnRequestcoming from a service provider via HTTP Redirect.
-
-
-
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 theAuthnRequestcoming from a service provider via HTTP Redirect.- Parameters:
request- theHttpServletRequestobjectresponse- theHttpServletResponseobjectout- the print writer for writing out presentationauditor- 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 FederatedSSOExceptionThis method processes theAuthnRequestcoming from a service provider via HTTP Redirect.- Parameters:
request- theHttpServletRequestobjectresponse- theHttpServletResponseobjectout- the print writer for writing out presentationisFromECP- true if the request comes from ECPauditor- the auditor for logging SAML2 Events - may be null- Throws:
FederatedSSOException
-
-