diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-12 14:43:07 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-12-12 14:43:07 +0100 |
commit | ed3410c2cf6a38e9f3c7d986853bd454e15f4637 (patch) | |
tree | 9aff1db8ae40c471f6a8bb555f62641ba23bd115 /connector/src/test/java | |
parent | 9cf3addb9bf53257d9c02cc5d3f5b5d00d6fc130 (diff) | |
download | National_eIDAS_Gateway-ed3410c2cf6a38e9f3c7d986853bd454e15f4637.tar.gz National_eIDAS_Gateway-ed3410c2cf6a38e9f3c7d986853bd454e15f4637.tar.bz2 National_eIDAS_Gateway-ed3410c2cf6a38e9f3c7d986853bd454e15f4637.zip |
only change interface and method name
Diffstat (limited to 'connector/src/test/java')
-rw-r--r-- | connector/src/test/java/at/asitplus/eidas/specific/connector/test/AuthnRequestValidatorTest.java | 10 |
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)); |