response.addAttribute("Version", "2.0", null);
response.addAttribute("IssueInstant", strCurrentDate, null);
OMElement status = factory.createOMElement("Status", samlp, response);
OMElement statusCode =
factory.createOMElement("StatusCode", samlp, status);
statusCode.addAttribute("Value", buildStatus, null);
if (buildStatus == SAML_STATUS_CODE_SUCCESS) {
OMElement assertion =
factory.createOMElement("Assertion", saml, response);