Activation Conditions and AbstractAttributePredicate warning after IDPv4 Upgrade

Domingues, Em michael-domingues at
Tue Dec 8 20:43:08 UTC 2020

Greetings All -

Since upgrading to IDP 4.0.1, I've noticed that on startup, some (but not all) of our activation conditions are leading to WARN entries in our logs during IDP startup:

net.shibboleth.idp.profile.logic.AbstractAttributePredicate:105 No AttributeContext located for evaluation

I'm seeing one WARN entry for each activationConditionRef associated with an affected AttributeDefinition in attribute-resolver.xml, but oddly, given structurally identical attribute definitions (same type, data connector, source attribute, and encoders) only certain definitions seem to be causing issues.

One of our predicates is defined as follows in global.xml:

<bean id="IsServiceAccount" class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate" p:useUnfilteredAttributes="true">
    <property name="attributeValueMap">
        <entry key="isServiceAccount">

The following attribute definition (technically, its associated encoders) makes use of the predicate as an activation condition. This one doesn't seem to be associated with the log entries:

<AttributeDefinition xsi:type="Simple" id="ad_displayName_givenName" >
    <InputDataConnector ref="myADLDAP" attributeNames="displayname"/>
    <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:givenName"
    <AttributeEncoder xsi:type="SAML2String" name="urn:oid:" friendlyName="givenName"

By contrast, this attribute definition is associated with the log entries. When I remove the activation condition references (and leave the ones associated with the above definition in place) the warnings disappear:
<AttributeDefinition xsi:type="Simple" id="ad_mail">
    <InputDataConnector ref="myADLDAP" attributeNames="mail"/>
    <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:mail"
    <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="mail"

I've read through the docs and poked around the relevant IDP source but am currently at a loss trying to explain why this would happen. Is there something I'm missing here?

Em Domingues
Senior Application Developer, Identity and Access Management
University of Iowa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list