Skip to:
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.
SunOS idm-dev-app-1 5.9 Generic_122300-02 sun4u sparc SUNW,Sun-Fire-V240
Implemented ignoreCase where possible, logged where not.
As requested created bug on the IDP side:https://bugs.internet2.edu/jira/browse/SIDP-200
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?
Added ignoreCase support to 4 functors.
http://svn.middleware.georgetown.edu/view/cpp-sp?view=rev&revision=2831
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?
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.