attribute-filter.xml AtributeRule ignoreCase logic is backwards

Description

In the following example, the filter policy "DOES NOT" ignore case:

<AttributeRule attributeID="eduPersonAffiliation">
<PermitValueRule xsi:type="basic:OR">
<basic:Rule xsi:type="basic:AttributeValueString" value="faculty" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="student" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="staff" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="alum" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="member" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="affiliate" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="employee" ignoreCase="true" />
<basic:Rule xsi:type="basic:AttributeValueString" value="library-walk-in" ignoreCase="true" />
</PermitValueRule>
</AttributeRule>

If you switch ignoreCase to false, then the case is truly ignored. This code was complied from source due as recommended by the install documentation.

Currently working around by using:

<AttributeRule attributeID="eduPersonAffiliation">
<PermitValueRule xsi:type="basic:ANY" />
</AttributeRule>

to prevent breakdown of function when this is fixed.

Environment

SunOS idm-dev-app-1 5.9 Generic_122300-02 sun4u sparc SUNW,Sun-Fire-V240

Activity

Show:

Scott Cantor June 17, 2008 at 10:50 AM

Implemented ignoreCase where possible, logged where not.

Jeffrey E Crawford June 16, 2008 at 2:00 PM

As requested created bug on the IDP side:
https://bugs.internet2.edu/jira/browse/SIDP-200

Scott Cantor June 16, 2008 at 1:53 PM

I would, but there is actually an issue here for the SP (see above), so could you file the bug again in the IdP so I can keep this one?

Scott Cantor June 16, 2008 at 1:52 PM

Jeffrey E Crawford June 16, 2008 at 1:51 PM

Oops sorry, yes this is the Java IDP part of the product. Still getting used to what is what here, Do you mind reassigning it?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created June 16, 2008 at 12:14 PM
Updated August 13, 2008 at 11:01 AM
Resolved June 17, 2008 at 10:50 AM