[java-identity-provider COMMIT] /trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttribute...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Jul 10 12:44:51 EDT 2013
Author: rdw
Date: Wed Jul 10 12:44:51 2013
New Revision: 4554
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4554&view=rev
Log:
IDP-287And yet again he forgets that profile-impl tests attribute filtering
Modified:
trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttributesTest.java
Modified: trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttributesTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttributesTest.java?rev=4554&r1=4553&r2=4554&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttributesTest.java (original)
+++ trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/FilterAttributesTest.java Wed Jul 10 12:44:51 2013
@@ -26,11 +26,10 @@
import net.shibboleth.idp.attribute.AttributeContext;
import net.shibboleth.idp.attribute.AttributeValue;
import net.shibboleth.idp.attribute.StringAttributeValue;
+import net.shibboleth.idp.attribute.filter.AttributeFilter;
import net.shibboleth.idp.attribute.filter.AttributeFilterContext;
import net.shibboleth.idp.attribute.filter.AttributeFilterPolicy;
-import net.shibboleth.idp.attribute.filter.AttributeFilter;
import net.shibboleth.idp.attribute.filter.AttributeRule;
-import net.shibboleth.idp.attribute.filter.Matcher;
import net.shibboleth.idp.attribute.filter.MockMatcher;
import net.shibboleth.idp.attribute.filter.PolicyRequirementRule;
import net.shibboleth.idp.profile.ActionTestingSupport;
@@ -116,7 +115,8 @@
AttributeRule attribute1Policy = new AttributeRule();
attribute1Policy.setId("attribute1Policy");
attribute1Policy.setAttributeId("attribute1");
- attribute1Policy.setPermitRule(attribute1Matcher);
+ attribute1Policy.setMatcher(attribute1Matcher);
+ attribute1Policy.setIsDenyRule(false);
AttributeFilterPolicy policy =
new AttributeFilterPolicy("attribute1Policy", PolicyRequirementRule.MATCHES_ALL,
@@ -175,7 +175,8 @@
AttributeRule attribute1Policy = new AttributeRule();
attribute1Policy.setId("attribute1Policy");
attribute1Policy.setAttributeId("attribute1");
- attribute1Policy.setPermitRule(attribute1Matcher);
+ attribute1Policy.setMatcher(attribute1Matcher);
+ attribute1Policy.setIsDenyRule(false);
AttributeFilterPolicy policy =
new AttributeFilterPolicy("attribute1Policy", PolicyRequirementRule.MATCHES_ALL,
@@ -233,7 +234,8 @@
AttributeRule attribute1Policy = new AttributeRule();
attribute1Policy.setId("attribute1Policy");
attribute1Policy.setAttributeId("attribute1");
- attribute1Policy.setPermitRule(attribute1Matcher);
+ attribute1Policy.setMatcher(attribute1Matcher);
+ attribute1Policy.setIsDenyRule(false);
AttributeFilterPolicy policy =
new AttributeFilterPolicy("attribute1Policy", PolicyRequirementRule.MATCHES_ALL,
More information about the commits
mailing list