[java-identity-provider] branch main updated: Add deprecation warning to first run of Duo flow.

Scott Cantor cantor.2 at osu.edu
Tue Mar 9 19:32:53 UTC 2021


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=e205997fdc1cf4bb70ec567a98c05d96a331e3fd

The following commit(s) were added to refs/heads/main by this push:
       new  e205997fd Add deprecation warning to first run of Duo flow.
e205997fd is described below

commit e205997fdc1cf4bb70ec567a98c05d96a331e3fd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 9 14:31:15 2021 -0500

    Add deprecation warning to first run of Duo flow.
---
 .../main/resources/net/shibboleth/idp/flows/authn/duo-authn-flow.xml   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/duo-authn-flow.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/duo-authn-flow.xml
index e58bec0a1..ac829fd2a 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/duo-authn-flow.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/flows/authn/duo-authn-flow.xml
@@ -5,6 +5,9 @@
     <!-- This is a simple login flow for Duo authentication. -->
 
     <action-state id="ExtractDuoAuthenticationFromHeaders">
+        <on-entry>
+            <evaluate expression="T(net.shibboleth.utilities.java.support.primitive.DeprecationSupport).warnOnce(T(net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType).WEBFLOW, 'authn/Duo', null, 'authn/DuoOIDC')" />
+        </on-entry>
         <evaluate expression="ExtractDuoAuthenticationFromHeaders" />
         <evaluate expression="'proceed'" />
         

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


More information about the commits mailing list