From 5a1defd063bbc45bd7e1f73d67f49f57a2dd48f7 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Thu, 18 Jan 2007 14:32:46 +0000 Subject: Updated to be compileable. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@791 d688527b-c9ab-4aba-bd8d-4036d912da1d --- id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java | 7 ++++--- 1 file 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"); } -- cgit v1.2.3