[java-idp-plugin-totp] branch main updated: Add conditional import to allow for future proofing.

Scott Cantor cantor.2 at osu.edu
Wed Apr 2 13:50:05 UTC 2025


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new aba17de  Add conditional import to allow for future proofing.
aba17de is described below

commit aba17de7642fbfe1806646700fbbbd43f9348f99
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Apr 2 09:50:02 2025 -0400

    Add conditional import to allow for future proofing.
---
 .../net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml     | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml b/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml
index 93691cd..adf909f 100644
--- a/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml
+++ b/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml
@@ -14,6 +14,8 @@
 
     <import resource="TOTP-authenticator.xml" />
 
+    <import resource="conditional:%{idp.home}/conf/authn/totp-authn-config.xml" />
+
     <bean id ="ExtendedMessageSourceResources" parent="shibboleth.ListCombiner"
           p:firstList-ref="#{'%{idp.message.resources:shibboleth.MessageSourceResources}'.trim()}" >
         <property name="secondList">
@@ -99,12 +101,12 @@
             class="org.springframework.beans.factory.config.MapFactoryBean">
         <property name="sourceMap">
              <map merge="true">
-                <entry>
-                    <key>
-                        <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
-                    </key>
-                    <bean class="net.shibboleth.idp.plugin.authn.totp.impl.AttemptedUsernameAuditExtractor" />
-                </entry>
+<!--                <entry>-->
+<!--                    <key>-->
+<!--                        <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>-->
+<!--                    </key>-->
+<!--                    <bean class="net.shibboleth.idp.plugin.authn.totp.impl.AttemptedUsernameAuditExtractor" />-->
+<!--                </entry>-->
              </map>
         </property>
     </bean>

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


More information about the commits mailing list