Unsure why an Attribute is not being released?

Peter Schober peter.schober at univie.ac.at
Fri Nov 2 13:01:52 EDT 2012


* Kanuch, Andrew  <Andy.Kanuch at sdstate.edu> [2012-11-02 17:53]:
> Error Reads:
> 
> 11:30:29.100 - ERROR [edu.internet2.middleware.shibboleth.common.config.BaseService:188] - Configuration was not loaded for shibboleth.AttributeFilterEngine service, error creating components.  The root cause of this error was: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'PolicyRequirementRule'. One of '{"urn:mace:shibboleth:2.0:afp":PolicyRequirementRule, "urn:mace:shibboleth:2.0:afp":PolicyRequirementRuleReference}' is expected.
> 
> 
> My Filter Policy Group is:
[...]
> 	 <afp:AttributeFilterPolicy id="releaseToSpExampleOrg">
> 
>   		<PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="https://service1.internet2.edu/test"/>
> 
> 			<AttributeRule attributeID="givenName">
> 			<!-- Permit value rule that releases any value. -->
> 			<PermitValueRule xsi:type="basic:ANY" />
> 			</AttributeRule>
> 
> 	 </afp:AttributeFilterPolicy>

Depending on the exact provenance and version of your
attribute-filter.xml you're probably just missing the "afp:" xml
namespace prefixes on the PolicyRequirementRule, AttributeRule and
PermitValueRule elements.
-peter


More information about the users mailing list