From ed3410c2cf6a38e9f3c7d986853bd454e15f4637 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 12 Dec 2019 14:43:07 +0100 Subject: only change interface and method name --- .../specific/connector/test/AuthnRequestValidatorTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'connector/src/test') 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)); -- cgit v1.2.3