[java-identity-provider COMMIT] /trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/ma...

noreply at shibboleth.net noreply at shibboleth.net
Tue Apr 7 11:11:39 EDT 2015


Author: rdw
Date: Tue Apr  7 11:11:38 2015
New Revision: 7472

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7472&view=rev
Log:
IDP-685 Set the default value of onlyIfRequired to be true

Modified:
    trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/saml/impl/MappedAttributeInMetadataMatcher.java

Modified: trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/saml/impl/MappedAttributeInMetadataMatcher.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/saml/impl/MappedAttributeInMetadataMatcher.java?rev=7472&r1=7471&r2=7472&view=diff
==============================================================================
--- trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/saml/impl/MappedAttributeInMetadataMatcher.java (original)
+++ trunk/idp-attribute-filter-impl/src/main/java/net/shibboleth/idp/attribute/filter/matcher/saml/impl/MappedAttributeInMetadataMatcher.java Tue Apr  7 11:11:38 2015
@@ -62,7 +62,7 @@
     @Nonnull private final Logger log = LoggerFactory.getLogger(MappedAttributeInMetadataMatcher.class);
 
     /** Whether optionally requested attributes should be matched. */
-    private boolean onlyIfRequired;
+    private boolean onlyIfRequired = true;
 
     /** Whether to return a match if the metadata does not contain an ACS descriptor. */
     private boolean matchIfMetadataSilent;



More information about the commits mailing list