aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/test/abnahme/A/Test400GetAuthenticationData.java')
-rw-r--r--id.server/src/test/abnahme/A/Test400GetAuthenticationData.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java b/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java
index e265905b8..3db0a6d69 100644
--- a/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java
+++ b/id.server/src/test/abnahme/A/Test400GetAuthenticationData.java
@@ -1,10 +1,13 @@
package test.abnahme.A;
+import java.util.HashMap;
+
import org.w3c.dom.Element;
import test.abnahme.AbnahmeTestCase;
import at.gv.egovernment.moa.id.AuthenticationException;
import at.gv.egovernment.moa.id.auth.AuthenticationServer;
+import at.gv.egovernment.moa.id.auth.MOAIDAuthConstants;
import at.gv.egovernment.moa.id.auth.builder.VerifyXMLSignatureRequestBuilder;
import at.gv.egovernment.moa.id.auth.data.AuthenticationSession;
import at.gv.egovernment.moa.id.auth.data.IdentityLink;
@@ -34,7 +37,9 @@ public class Test400GetAuthenticationData extends AbnahmeTestCase {
String sessionID = startAuthentication();
AuthenticationSession session = AuthenticationServer.getSession(sessionID);
String infoboxReadResponse = readXmldata("InfoBoxReadResponse.xml");
- server.verifyIdentityLink(sessionID, infoboxReadResponse);
+ HashMap parameters = new HashMap(1);
+ parameters.put(MOAIDAuthConstants.PARAM_XMLRESPONSE, infoboxReadResponse);
+ server.verifyIdentityLink(sessionID, parameters);
InfoboxReadResponseParser irrp = new InfoboxReadResponseParser(infoboxReadResponse);
IdentityLink idl = irrp.parseIdentityLink();
Element domVerifyXMLSignatureRequest = new VerifyXMLSignatureRequestBuilder().build(idl, AuthConfigurationProvider.getInstance().getMoaSpAuthBlockTrustProfileID());