From 2f8b0f7d98d612da6f23ba2d9a735e5aead78be2 Mon Sep 17 00:00:00 2001 From: rudolf Date: Mon, 26 Apr 2004 13:21:00 +0000 Subject: Debug Output der SamlAssertion (RSCH) git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@112 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'id.server/src/at') 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 lt;samlp:Response> 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, -- cgit v1.2.3