aboutsummaryrefslogtreecommitdiff
path: root/id.server/doc/moa_id
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/doc/moa_id')
-rw-r--r--id.server/doc/moa_id/examples/LoginServletExample.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/id.server/doc/moa_id/examples/LoginServletExample.txt b/id.server/doc/moa_id/examples/LoginServletExample.txt
index e085e4126..587ef5e97 100644
--- a/id.server/doc/moa_id/examples/LoginServletExample.txt
+++ b/id.server/doc/moa_id/examples/LoginServletExample.txt
@@ -73,7 +73,7 @@ public class LoginServletExample extends HttpServlet {
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><samlp:Request IssueInstant=\"2003-01-01T00:00:00+02:00\" MajorVersion=\"1\" MinorVersion=\"0\" RequestID=\"12345678901234567890\" xmlns:samlp=\"urn:oasis:names:tc:SAML:1.0:protocol\"><samlp:AssertionArtifact>"
+ samlArtifact
+ "</samlp:AssertionArtifact></samlp:Request>";
- Document root_request = builder.parse(samlRequest);
+ Document root_request = builder.parse(new ByteArrayInputStream(samlRequest.getBytes()));
// Neues SOAPBodyElement anlegen und mit dem DOM-Baum füllen
SOAPBodyElement body = new SOAPBodyElement(root_request.getDocumentElement());