[java-identity-provider COMMIT] in /branches/3.3: ./ idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml

noreply at shibboleth.net noreply at shibboleth.net
Mon Mar 6 21:40:53 EST 2017


Author: scantor
Date: Mon Mar  6 21:40:53 2017
New Revision: 8654

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8654&view=rev
Log:
BPr8571 - IDP-1091 - Logging gap in authn/Duo flow.

Modified:
    branches/3.3/   (props changed)
    branches/3.3/idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml

Modified: branches/3.3/idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/branches/3.3/idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml?rev=8654&r1=8653&r2=8654&view=diff
==============================================================================
--- branches/3.3/idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml	(original)
+++ branches/3.3/idp-conf/src/main/resources/system/flows/authn/duo-authn-flow.xml	Mon Mar  6 21:40:53 2017
@@ -23,7 +23,7 @@
         
         <transition on="proceed" to="ValidateDuoWebResponse" />
         <transition on="cancel" to="ReselectFlow" />
-        <transition on-exception="com.duosecurity.duoweb.DuoWebException" to="AuthenticationException" />
+        <transition on-exception="com.duosecurity.duoweb.DuoWebException" to="LogDuoException" />
     </view-state>
 
     <action-state id="ValidateDuoWebResponse">
@@ -33,6 +33,13 @@
         <transition on="proceed" to="proceed" />
     </action-state>
 
+    <action-state id="LogDuoException">
+        <on-entry>
+            <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.authn.duo').error('DuoWebException', flowExecutionException.getCause())" />
+        </on-entry>
+        <evaluate expression="'AuthenticationException'" />
+    </action-state>
+
     <bean-import resource="duo-authn-beans.xml" />
 
 </flow>



More information about the commits mailing list