[java-idp-plugin-totp] branch main updated: Bug fixes.

Scott Cantor cantor.2 at osu.edu
Fri Feb 5 02:41:59 UTC 2021


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=073e8e0bc2f2cafb987e02761133340273a9aeb2

The following commit(s) were added to refs/heads/main by this push:
       new  073e8e0   Bug fixes.
073e8e0 is described below

commit 073e8e0bc2f2cafb987e02761133340273a9aeb2
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Feb 4 21:41:56 2021 -0500

    Bug fixes.
    
    Move parent bean to postconfig.xml
    Allow tokencode to come from Password view.
---
 .../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml     | 4 ++++
 .../META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-beans.xml       | 3 ---
 .../META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-flow.xml        | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/totp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/totp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 2eec340..f3b2a56 100644
--- a/totp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/totp-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -37,4 +37,8 @@
         </property>
     </bean>
   
+      <!-- Parent bean for use of alternative seed source. -->
+    <bean id="shibboleth.authn.TOTP.StaticSeedSource" abstract="true"
+        class="net.shibboleth.idp.plugin.authn.totp.impl.StaticSeedSource" />
+  
 </beans>
\ No newline at end of file
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 c1a0469..b891aa8 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
@@ -60,7 +60,4 @@
         p:attributeResolver-ref="shibboleth.AttributeResolverService"
         p:sourceAttribute="#{'%{idp.authn.TOTP.tokenSeedAttribute:tokenSeeds}'.trim()}" />
 
-    <!-- Parent bean for use of alternative seed source. -->
-    <bean id="shibboleth.authn.TOTP.StaticSeedSource" class="net.shibboleth.idp.plugin.authn.totp.impl.StaticSeedSource" abstract="true" />
-
 </beans>
diff --git a/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-flow.xml b/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-flow.xml
index 76428a6..f912c4c 100644
--- a/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-flow.xml
+++ b/totp-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/authn/TOTP/TOTP-flow.xml
@@ -16,7 +16,7 @@
 
         <transition on="UnknownUsername" to="ReselectFlow" />
         <transition on="InvalidCredentials" to="DisplayTOTPView" />
-        <transition on="NoCredentials" to="DisplayTOTPView" />
+        <transition on="NoCredentials" to="ExtractTOTPFromFormRequest" />
     </action-state>
 
 	<view-state id="DisplayTOTPView" view="totp">

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


More information about the commits mailing list