[java-identity-provider] 02/02: IDP-680 partial revert of f43258524cd3
Rod Widdowson
rdw at steadingsoftware.com
Wed Sep 12 04:10:01 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=22a1c25f464ae7fa57faa73e310aabaad55c35d1
commit 22a1c25f464ae7fa57faa73e310aabaad55c35d1
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Sep 12 09:08:17 2018 +0100
IDP-680 partial revert of f43258524cd3
https://issues.shibboleth.net/jira/browse/IDP-680
The code tried to deal with property replaced booleans, but
missed several important cases (including lack of support in java 7)
---
.../idp/attribute/resolver/spring/impl/InputDataConnectorParser.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/InputDataConnectorParser.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/InputDataConnectorParser.java
index f975774..0aa2416 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/InputDataConnectorParser.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/InputDataConnectorParser.java
@@ -84,10 +84,7 @@ public class InputDataConnectorParser extends ResolverPluginDependencyParser {
throw new BeanCreationException(ELEMENT_NAME.getLocalPart()
+ ": attributeNames and allAttributes are mutually exclusive");
}
- final BeanDefinitionBuilder boolBuilder =
- BeanDefinitionBuilder.rootBeanDefinition(Boolean.class, "toBoolean");
- boolBuilder.addConstructorArgValue(allAttributes);
- builder.addPropertyValue("allAttributes", boolBuilder.getBeanDefinition());
+ builder.addPropertyValue("allAttributes", allAttributes);
} else if (!attributeElements.isEmpty()) {
final ManagedList<String> elementNameList = new ManagedList<>(attributeElements.size());
for (final Element el:attributeElements) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list