aboutsummaryrefslogtreecommitdiff
path: root/id.server/src
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java
index e52a3e73c..4eed03bc6 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/builder/VerifyXMLSignatureRequestBuilder.java
@@ -83,11 +83,14 @@ public class VerifyXMLSignatureRequestBuilder {
Element insertTo = (Element) XPathUtils.selectSingleNode(reqElem, CONTENT_XPATH);
- String dtdString =
- "<!DOCTYPE saml:Assertion [\n"
+ String dtdString = ""
+ /* TODO MOA-ID-AUTH remove dtdString processing if it is not nec. in further versions
+ + "<!DOCTYPE saml:Assertion [\n"
+ " <!ATTLIST saml:Assertion AssertionID ID #REQUIRED\n"
+ ">\n"
- + "]>";
+ + "]>"
+ */
+ ;
String serializedAssertion = DOMUtils.serializeNode(idl.getSamlAssertion());
//insert mini dtd after xml declaration to allow usage of AssertionID