aboutsummaryrefslogtreecommitdiff
path: root/id.server/src
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-04-26 13:21:00 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-04-26 13:21:00 +0000
commit2f8b0f7d98d612da6f23ba2d9a735e5aead78be2 (patch)
treeab4960e08d7dcfbc3bae4aaccff7a914e7970a0e /id.server/src
parent8f97a4e7102dac10c2b3e47e25348ac17573056b (diff)
downloadmoa-id-spss-2f8b0f7d98d612da6f23ba2d9a735e5aead78be2.tar.gz
moa-id-spss-2f8b0f7d98d612da6f23ba2d9a735e5aead78be2.tar.bz2
moa-id-spss-2f8b0f7d98d612da6f23ba2d9a735e5aead78be2.zip
Debug Output der SamlAssertion (RSCH)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@112 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/builder/SAMLResponseBuilder.java4
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&gt;</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,