[java-idp-plugin-duo] branch main updated: Revert unintentional event change.

Scott Cantor cantor.2 at osu.edu
Tue Apr 9 14:58:20 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=dfd095b730729a0ffa689a66da5e85d5d2b03b49

The following commit(s) were added to refs/heads/main by this push:
     new dfd095b7 Revert unintentional event change.
dfd095b7 is described below

commit dfd095b730729a0ffa689a66da5e85d5d2b03b49
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Apr 9 10:58:17 2024 -0400

    Revert unintentional event change.
---
 .../idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 6d148017..d4671d4f 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
@@ -62,7 +62,7 @@ import net.shibboleth.shared.primitive.StringSupport;
  * 
  * @event {@link EventIds#PROCEED_EVENT_ID}
  * @event {@link EventIds#INVALID_PROFILE_CTX}
- * @event {@link AuthnEventIds#UNKNOWN_USERNAME}
+ * @event {@link AuthnEventIds#NO_CREDENTIALS}
  * @event {@link AuthnEventIds#AUTHN_EXCEPTION}
  * @post See above.
  */
@@ -279,7 +279,7 @@ public class PopulateDuoAuthenticationContext extends AbstractAuthenticationActi
 
         if (passwordlessContext.getUsername() == 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(passwordlessContext.getUsername());

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


More information about the commits mailing list