[java-idp-plugin-duo] branch main updated: Fix another modified event.

Scott Cantor cantor.2 at osu.edu
Tue Apr 9 15:15:29 UTC 2024


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

scantor pushed a commit to branch main
in repository java-idp-plugin-duo.

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

The following commit(s) were added to refs/heads/main by this push:
     new 8553e0c6 Fix another modified event.
8553e0c6 is described below

commit 8553e0c6a895ce3180f1c6eacb6d8c60e093c1c2
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Apr 9 11:15:27 2024 -0400

    Fix another modified event.
---
 .../idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
index d4671d4f..98898b3c 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
@@ -331,7 +331,7 @@ public class PopulateDuoAuthenticationContext extends AbstractAuthenticationActi
         final String username = usernameLookupStrategy.apply(profileRequestContext);
         if (username == null) {
             log.warn("{} No principal name available to initiate a Duo 2FA request", getLogPrefix());
-            ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.UNKNOWN_USERNAME);
+            ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.NO_CREDENTIALS);
             return false;
         }
         duoContext.setUsername(username);

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


More information about the commits mailing list