diff options
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java index a4fb5579e..d7dac3907 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java @@ -7,6 +7,8 @@ import org.w3c.dom.Element; import at.gv.egovernment.moa.id.*; import at.gv.egovernment.moa.util.Constants; import at.gv.egovernment.moa.util.DOMUtils; +import at.gv.egovernment.moa.util.OutputXML2File; +import at.gv.egovernment.moa.id.auth.MOAIDAuthConstants; /** * Builder for the <code>lt;samlp:Response></code> used for passing @@ -66,6 +68,8 @@ public class SAMLResponseBuilder implements Constants { subStatusCode == null ? "" : MessageFormat.format(SUB_STATUS_CODE, new Object[] {subStatusCode}); + OutputXML2File.debugOutputXML2File("SamlAssertion.xml", samlAssertion, MOAIDAuthConstants.DEBUG_OUTPUT_HIERARCHY); + String xmlResponse = MessageFormat.format(RESPONSE, new Object[] { responseID, inResponseTo, |