[java-identity-provider] branch master updated: Deprecate FilterFlowsByAttribute action.

Scott Cantor cantor.2 at osu.edu
Wed Aug 23 20:56:39 EDT 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=c161b16b95e5b96b8722c48a4ac54f2d40b1e4e0

The following commit(s) were added to refs/heads/master by this push:
       new  c161b16   Deprecate FilterFlowsByAttribute action.
c161b16 is described below

commit c161b16b95e5b96b8722c48a4ac54f2d40b1e4e0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 23 20:56:37 2017 -0400

    Deprecate FilterFlowsByAttribute action.
---
 .../java/net/shibboleth/idp/authn/impl/FilterFlowsByAttribute.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FilterFlowsByAttribute.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FilterFlowsByAttribute.java
index 61fe349..f916f0d 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FilterFlowsByAttribute.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/FilterFlowsByAttribute.java
@@ -36,6 +36,8 @@ import net.shibboleth.idp.authn.AuthenticationResult;
 import net.shibboleth.idp.authn.context.AuthenticationContext;
 import net.shibboleth.utilities.java.support.component.ComponentSupport;
 import net.shibboleth.utilities.java.support.logic.Constraint;
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
+import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.utilities.java.support.primitive.StringSupport;
 
 import org.opensaml.messaging.context.navigate.ChildContextLookup;
@@ -129,6 +131,8 @@ public class FilterFlowsByAttribute extends AbstractAuthenticationAction {
         if (!super.doPreExecute(profileRequestContext, authenticationContext) || attributeId == null) {
             return false;
         }
+        
+        DeprecationSupport.warnOnce(ObjectType.ACTION, getClass().getSimpleName(), null, "the MFA login flow");
 
         final AttributeContext attributeCtx = attributeContextLookupStrategy.apply(profileRequestContext);
         if (attributeCtx == null) {

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


More information about the commits mailing list