[java-identity-provider] branch master updated: Return NO_PASSIVE event in more cases.

Scott Cantor cantor.2 at osu.edu
Mon Dec 18 13:19:46 EST 2017


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  36140f9   Return NO_PASSIVE event in more cases.
36140f9 is described below

commit 36140f9bc189f41afdcf0d10e22384555098d2b9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 18 13:19:44 2017 -0500

    Return NO_PASSIVE event in more cases.
---
 .../net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
index 3fbf23b..f3ae99d 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
@@ -426,7 +426,8 @@ public class SelectAuthenticationFlow extends AbstractAuthenticationAction {
         
         
         log.info("{} None of the potential authentication flows can satisfy the request", getLogPrefix());
-        ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.REQUEST_UNSUPPORTED);
+        ActionSupport.buildEvent(profileRequestContext,
+                authenticationContext.isPassive() ? AuthnEventIds.NO_PASSIVE : AuthnEventIds.REQUEST_UNSUPPORTED);
     }
     
     /**
@@ -511,7 +512,8 @@ public class SelectAuthenticationFlow extends AbstractAuthenticationAction {
             }
             
             log.info("{} None of the potential authentication flows can satisfy the request", getLogPrefix());
-            ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.REQUEST_UNSUPPORTED);
+            ActionSupport.buildEvent(profileRequestContext,
+                    authenticationContext.isPassive() ? AuthnEventIds.NO_PASSIVE : AuthnEventIds.REQUEST_UNSUPPORTED);
         }
     }
 // Checkstyle: MethodLength|CyclomaticComplexity|ReturnCount ON

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


More information about the commits mailing list