[java-idp-plugin-duo] branch main updated: Apply user transforms to cookie sourced username.

Scott Cantor cantor.2 at osu.edu
Wed Mar 20 20:30:57 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=226766f596204bf326512cb6404472f7a2200853

The following commit(s) were added to refs/heads/main by this push:
     new 226766f5 Apply user transforms to cookie sourced username.
226766f5 is described below

commit 226766f596204bf326512cb6404472f7a2200853
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Mar 20 16:30:32 2024 -0400

    Apply user transforms to cookie sourced username.
---
 .../idp/plugin/authn/duo/impl/CheckPasswordlessEnrollment.java         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollment.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollment.java
index 5fa0a4a8..13e3004f 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollment.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollment.java
@@ -451,7 +451,8 @@ public class CheckPasswordlessEnrollment extends AbstractExtractionAction {
             if (cookie != null) {
                 try {
                     assert dataSealer != null;
-                    return dataSealer.unwrap(cookie);
+                    // TODO: Convert to 2 parameter version once API moves to 5.1.
+                    return applyTransforms(dataSealer.unwrap(cookie));
                 } catch (final DataSealerException e) {
                     log.warn("{} Unable to unwrap sealed username cookie", getLogPrefix(), e);
                     assert cookieName != null;

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


More information about the commits mailing list