[java-idp-plugin-duo] branch dev/JDUO-80 updated: Account for method change in tests.

Scott Cantor cantor.2 at osu.edu
Thu Dec 28 14:59:58 UTC 2023


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch dev/JDUO-80
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=2f6bb6cc19cd41b12eea57cc66e8790bcb691417

The following commit(s) were added to refs/heads/dev/JDUO-80 by this push:
     new 2f6bb6cc Account for method change in tests.
2f6bb6cc is described below

commit 2f6bb6cc19cd41b12eea57cc66e8790bcb691417
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 28 09:59:55 2023 -0500

    Account for method change in tests.
---
 .../duo/impl/PopulateDuoAuthenticationContextTest.java   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContextTest.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContextTest.java
index 7e8f9ca2..c91c3a06 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContextTest.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContextTest.java
@@ -83,7 +83,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
         
         
         //set the duo integration strategy to lookup 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         
@@ -117,7 +117,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             throws ComponentInitializationException, DuoRegistryException {
         
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         
@@ -151,7 +151,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
         //cleanout pre-registered redirect
         integ.setRegisteredRedirectURI(null);
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         action.setRedirectURICreationStrategy((http,duoInteg) 
@@ -234,7 +234,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             DuoRegistryException, DuoClientException {
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> null);
         action.setRedirectURICreationStrategy((http,duoInteg) 
@@ -260,7 +260,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             DuoRegistryException, DuoClientException {
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         action.setRedirectURICreationStrategy((http,duoInteg) -> null);
@@ -285,7 +285,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             DuoRegistryException, DuoClientException {
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         action.setRedirectURICreationStrategy((http,duoInteg) 
@@ -314,7 +314,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             DuoRegistryException, DuoClientException {
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         action.setRedirectURICreationStrategy((http,duoInteg) 
@@ -344,7 +344,7 @@ public class PopulateDuoAuthenticationContextTest extends AbstractDuoActionTest{
             DuoRegistryException, DuoClientException {
         final DefaultDuoOIDCIntegration integ = createDummyDuoIntegration();
         //set the duo integration strategy to lookup this 
-        action.setDuoIntegrationLookupStrategy(prc -> integ);
+        action.setStandardDuoIntegrationLookupStrategy(prc -> integ);
         //lookup a username
         action.setUsernameLookupStrategy(prc -> "jdoe");
         action.setRedirectURICreationStrategy((http,duoInteg) 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list