aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/test/abnahme
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/test/abnahme')
-rw-r--r--id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java b/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java
index d0ba51923..043f51398 100644
--- a/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java
+++ b/id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java
@@ -1,12 +1,11 @@
package test.abnahme.A;
import java.util.HashMap;
+import java.util.Vector;
import org.w3c.dom.Element;
-
import test.abnahme.AbnahmeTestCase;
-
import at.gv.egovernment.moa.id.AuthenticationException;
import at.gv.egovernment.moa.id.ParseException;
import at.gv.egovernment.moa.id.auth.MOAIDAuthConstants;
@@ -351,8 +350,10 @@ public class Test200VerifyIdentityLink extends AbnahmeTestCase {
// System.out.println(createXMLSignatureRequest);
// String createXMLSignatureResponse = readFile(TESTDATA_ROOT + "xmldata/standard/"+"CreateXMLSignatureResponse.xml");
// String samlArtifact = server.verifyAuthenticationBlock(sessionID, createXMLSignatureResponse);
+ Vector identityLinkSigners = new Vector();
+ identityLinkSigners.add("CN=TEST,OU=TEST,O=TEST,C=AT");
try {
- VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), new String[] { "CN=TEST,OU=TEST,O=TEST,C=AT" }, VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK, true);
+ VerifyXMLSignatureResponseValidator.getInstance().validate(respParser.parseData(), identityLinkSigners, VerifyXMLSignatureResponseValidator.CHECK_IDENTITY_LINK, true);
System.err.println(this.getName() + " hat KEINE FEHLER geworfen");
fail(this.getName() + " hat KEINE FEHLER geworfen");
}