Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titlePredicate for PreRequested Attributes
<bean id="MyCondition" class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate"
id="byAttr" 	p:attributeContextLookupStrategy-ref="PreRequestedLookupshibboleth.ChildLookup.PreRequestedAttributeContext" >
  <property name="attributeValueMap">
    <!-- Usual configuration elided -->
  </property>
</bean>

<bean id="PreRequestedLookup" parent="shibboleth.Functions.Compose" c:g-ref="shibboleth.ChildLookup.AttributeContext">

 <constructor-arg name="f">
    <bean class="org.opensaml.messaging.context.navigate.ChildContextLookup"
	  c:type="#{ T(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext) }" />
  </constructor-arg>
</bean>
Code Block
languagexml
titleDefining a preRequested Attibute
    <AttributeDefinition xsi:type="Simple"
        id="preRequested" preRequested="true" dependencyOnly="true">
        <InputDataConnector ref="MyDataConnextor" attributeNames="PreRequest"/>
    </AttributeDefinition>