idpSSOFederate.jsp revision c36b3d48cd721148c2ed02c273ecf4f38e1add70
1N/A $Id: idpSSOFederate.jsp,v 1.6 2009/10/15 00:00:41 exu Exp $
1N/A<%@ page import="com.sun.identity.saml2.common.SAML2Constants" %>
1N/A<%@ page import="com.sun.identity.saml2.common.SAML2Exception" %>
1N/A<%@ page import="com.sun.identity.saml2.common.SAML2Utils" %>
1N/A<%@ page import="com.sun.identity.saml.common.SAMLUtils" %>
1N/A<%@ page import="com.sun.identity.saml2.profile.IDPSSOUtil" %>
1N/A<%@ page import="com.sun.identity.saml2.profile.IDPSSOFederate" %>
1N/A<%@ page import="java.io.PrintWriter" %>
1N/A "nullInput", SAML2Utils.bundle.getString("nullInput"));
1N/A if ((cachedResID != null) && (cachedResID.length() != 0)) {
1N/A IDPSSOUtil.sendResponse(request, response, new PrintWriter(out, true), cachedResID);
1N/A SAML2Utils.debug.error("Error processing request " , sse);
1N/A SAML2Utils.bundle.getString("requestProcessingError") + " " +
1N/A sse.getMessage());
1N/A String reqBinding = SAML2Constants.HTTP_REDIRECT;
1N/A if (request.getMethod().equals("POST")) {
1N/A reqBinding = SAML2Constants.HTTP_POST;
1N/A IDPSSOFederate.doSSOFederate(request, response, new PrintWriter(out, true), reqBinding );