[java-identity-provider] 04/04: IdP-1206 Config: property control of stripping nulls from resolver attributes

Rod Widdowson rdw at steadingsoftware.com
Tue Apr 17 11:14:36 EDT 2018


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

rdw 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=54aecc3d308591cb331e05e8a705251b594775ac

commit 54aecc3d308591cb331e05e8a705251b594775ac
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Apr 17 16:13:16 2018 +0100

    IdP-1206 Config: property control of stripping nulls from resolver attributes
    
    https://issues.shibboleth.net/jira/browse/IDP-1206
---
 idp-conf/src/main/resources/conf/services.properties        | 1 +
 idp-conf/src/main/resources/system/conf/services-system.xml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/idp-conf/src/main/resources/conf/services.properties b/idp-conf/src/main/resources/conf/services.properties
index 34ac41d..0aa9007 100644
--- a/idp-conf/src/main/resources/conf/services.properties
+++ b/idp-conf/src/main/resources/conf/services.properties
@@ -25,6 +25,7 @@ idp.service.relyingparty.checkInterval = PT15M
 #idp.service.attribute.resolver.failFast = false
 idp.service.attribute.resolver.checkInterval = PT15M
 #idp.service.attribute.resolver.maskFailures = true
+#idp.service.attribute.resolver.stripNulls = false
 
 #idp.service.attribute.filter.resources = shibboleth.AttributeFilterResources
 # NOTE: Failing the filter fast leaves no filters enabled.
diff --git a/idp-conf/src/main/resources/system/conf/services-system.xml b/idp-conf/src/main/resources/system/conf/services-system.xml
index 17c20ce..198ac1c 100644
--- a/idp-conf/src/main/resources/system/conf/services-system.xml
+++ b/idp-conf/src/main/resources/system/conf/services-system.xml
@@ -49,6 +49,7 @@
         <constructor-arg name="claz" value="net.shibboleth.idp.attribute.resolver.AttributeResolver" />
         <constructor-arg name="strategy">
             <bean class="net.shibboleth.idp.attribute.resolver.spring.impl.AttributeResolverServiceStrategy"
+                p:stripNulls="%{idp.service.attribute.resolver.stripNulls:false}"
                 id="ShibbolethAttributeResolver"/>
         </constructor-arg>
     </bean>

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


More information about the commits mailing list