[JIRA] Closed: (SC-175) NOT/AND/OR functors don't appear to support RuleReference children
Chad La Joie (JIRA)
noreply at shibboleth.net
Mon Jun 11 14:42:03 BST 2012
[ https://issues.shibboleth.net/jira/browse/SC-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chad La Joie closed SC-175.
---------------------------
Resolution: Won't Fix
Fix Version/s: (was: 1.3.6)
So, this is going to be a lot more work than I'm willing to do in a patch release. I've go ahead and had the configuration parsers thrown an exception if RuleReference's are used. It's also worth noting that such references have never been a supported (i.e., documented and public) feature.
> NOT/AND/OR functors don't appear to support RuleReference children
> ------------------------------------------------------------------
>
> Key: SC-175
> URL: https://issues.shibboleth.net/jira/browse/SC-175
> Project: Shibboleth Common - Java
> Issue Type: Bug
> Components: Attribute Authority
> Affects Versions: 1.3.5
> Reporter: Scott Cantor
> Assignee: Chad La Joie
> Priority: Minor
>
> The schema for the AND/OR/NOT functors in the filter engine indicates that RuleReference elements can be used as children, but the bean parsers don't back that up. In particular, it's schema legal in the NOT case to include a single RuleReference child, but that crashes in the config parser because it assumes there's a Rule child:
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at edu.internet2.middleware.shibboleth.common.config.attribute.filtering.match.basic.NotMatchFunctorBeanDefinitionParser.doParse(NotMatchFunctorBeanDefinitionParser.java:53)
> at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:84)
> at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:56)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list