aboutsummaryrefslogtreecommitdiff
path: root/connector/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'connector/src/test/java')
-rw-r--r--connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java b/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
index ab59cf10..9c5d6036 100644
--- a/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
+++ b/connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java
@@ -37,7 +37,7 @@ import at.gv.egiz.eaaf.core.api.idp.IConfiguration;
import at.gv.egiz.eaaf.core.exceptions.AuthnRequestValidatorException;
import at.gv.egiz.eaaf.core.impl.idp.module.test.TestRequestImpl;
import at.gv.egiz.eaaf.core.impl.utils.DomUtils;
-import at.gv.egiz.eaaf.modules.pvp2.api.validation.IAuthnRequestValidator;
+import at.gv.egiz.eaaf.modules.pvp2.api.validation.IAuthnRequestPostProcessor;
import at.gv.egiz.eaaf.modules.pvp2.impl.opensaml.initialize.EaafDefaultSaml2Bootstrap;
@RunWith(SpringJUnit4ClassRunner.class)
@@ -53,7 +53,7 @@ import at.gv.egiz.eaaf.modules.pvp2.impl.opensaml.initialize.EaafDefaultSaml2Boo
public class AuthnRequestValidatorTest {
@Autowired private IConfiguration basicConfig;
- @Autowired protected IAuthnRequestValidator authRequestValidator;
+ @Autowired protected IAuthnRequestPostProcessor authRequestValidator;
private MockHttpServletRequest httpReq;
private MockHttpServletResponse httpResp;
@@ -98,7 +98,7 @@ public class AuthnRequestValidatorTest {
AuthnRequest authReq = getAuthRequest("/data/pvp2_authn_1.xml");
//test
- authRequestValidator.validate(httpReq, pendingReq, authReq, null);
+ authRequestValidator.process(httpReq, pendingReq, authReq, null);
//validate
Assert.assertNotNull("spEntityId is null", pendingReq.getRawData(MsEidasNodeConstants.DATA_REQUESTERID));
@@ -134,7 +134,7 @@ public class AuthnRequestValidatorTest {
AuthnRequest authReq = getAuthRequest("/data/pvp2_authn_2.xml");
//test
- authRequestValidator.validate(httpReq, pendingReq, authReq, null);
+ authRequestValidator.process(httpReq, pendingReq, authReq, null);
//validate
Assert.assertNotNull("spEntityId is null", pendingReq.getRawData(MsEidasNodeConstants.DATA_REQUESTERID));
@@ -170,7 +170,7 @@ public class AuthnRequestValidatorTest {
AuthnRequest authReq = getAuthRequest("/data/pvp2_authn_3.xml");
//test
- authRequestValidator.validate(httpReq, pendingReq, authReq, null);
+ authRequestValidator.process(httpReq, pendingReq, authReq, null);
//validate
Assert.assertNotNull("spEntityId is null", pendingReq.getRawData(MsEidasNodeConstants.DATA_REQUESTERID));