diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-01-18 14:32:46 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2007-01-18 14:32:46 +0000 |
commit | 5a1defd063bbc45bd7e1f73d67f49f57a2dd48f7 (patch) | |
tree | 2692bb162b3f54fa4d8bb488655ba906d235e2e1 /id.server/src/test/abnahme/A | |
parent | 03310b34dbc9e7099e2ca10560e710b176d06087 (diff) | |
download | moa-id-spss-5a1defd063bbc45bd7e1f73d67f49f57a2dd48f7.tar.gz moa-id-spss-5a1defd063bbc45bd7e1f73d67f49f57a2dd48f7.tar.bz2 moa-id-spss-5a1defd063bbc45bd7e1f73d67f49f57a2dd48f7.zip |
Updated to be compileable.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@791 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/test/abnahme/A')
-rw-r--r-- | id.server/src/test/abnahme/A/Test200VerifyIdentityLink.java | 7 |
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"); } |