[java-identity-provider] branch maint-3.4 updated: IDP-1463 - Authn finalize fails to overwrite previous active flow result

Scott Cantor cantor.2 at osu.edu
Wed Sep 4 14:26:27 EDT 2019


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

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

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

The following commit(s) were added to refs/heads/maint-3.4 by this push:
       new  67cb98d   IDP-1463 - Authn finalize fails to overwrite previous active flow result
67cb98d is described below

commit 67cb98da85a8d8c38d246aa7a322a45a7ea9711b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 10 08:34:04 2019 -0400

    IDP-1463 - Authn finalize fails to overwrite previous active flow result
    
    https://issues.shibboleth.net/jira/browse/IDP-1463
    (cherry picked from commit 756a94799e9f396a0dda9638dc044b998914eaef)
---
 .../main/java/net/shibboleth/idp/authn/impl/FinalizeAuthentication.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FinalizeAuthentication.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FinalizeAuthentication.java
index ae0d449..1dab90a 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FinalizeAuthentication.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FinalizeAuthentication.java
@@ -213,7 +213,7 @@ public class FinalizeAuthentication extends AbstractAuthenticationAction {
             scResults.putAll(authenticationContext.getActiveResults());
             
             final AuthenticationResult latest = authenticationContext.getAuthenticationResult();
-            if (latest != null && !scResults.containsKey(latest.getAuthenticationFlowId())) {
+            if (latest != null) {
                 scResults.put(latest.getAuthenticationFlowId(), latest);
             }
         }

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


More information about the commits mailing list