idpSSOFederate.jsp revision 0fdab8904a8fe223f6934b878769fe45e7651c60
542N/A $Id: idpSSOFederate.jsp,v 1.6 2009/10/15 00:00:41 exu Exp $
810N/A<!-- %@ page import="com.iplanet.am.util.Debug" % -->
542N/A<%@ page import="com.sun.identity.shared.debug.Debug" %>
810N/A<%@ page import="com.sun.identity.saml2.common.SAML2Constants" %>
810N/A<%@ page import="com.sun.identity.saml2.common.SAML2Exception" %>
542N/A<%@ page import="com.sun.identity.saml2.common.SAML2Utils" %>
851N/A<%@ page import="com.sun.identity.saml.common.SAMLUtils" %>
542N/A<%@ page import="com.sun.identity.saml2.profile.IDPSSOUtil" %>
542N/A<%@ page import="com.sun.identity.saml2.profile.IDPSSOFederate" %>
542N/A<%@ page import="java.io.PrintWriter" %>
542N/A "nullInput", SAML2Utils.bundle.getString("nullInput"));
851N/A if ((cachedResID != null) && (cachedResID.length() != 0)) {
542N/A IDPSSOUtil.sendResponse(request, response, cachedResID);
SAML2Utils.debug.error("Error processing request " , sse);
SAML2Utils.bundle.getString("requestProcessingError") + " " +
sse.getMessage());
String reqBinding = SAML2Constants.HTTP_REDIRECT;
if (request.getMethod().equals("POST")) {
reqBinding = SAML2Constants.HTTP_POST;
* This call handles the federation and/or single sign on request
IDPSSOFederate.doSSOFederate(request, response, new PrintWriter(out, true), reqBinding );