release a non existent attribute as a specific value

Peter Schober peter.schober at univie.ac.at
Tue Jun 13 12:26:58 EDT 2017


* Cheltenham, Chris <ccheltenham-ext at philasd.org> [2017-06-13 16:37]:
> The app is looking for 'accountID' attribute. […]
> How do I create a resolver attribute to push one specific value only?

E.g.:

    <AttributeDefinition id="someVendorCrap" xsi:type="Simple" sourceAttributeID="someVendorAccountID">
        <Dependency ref="staticAttributes" />
        <AttributeEncoder xsi:type="SAML2String" name="THE-DESIRED-FORMAL-ATTRIBUTE-NAME" friendlyName="WHATEVER" encodeType="false" />
    </AttributeDefinition>

    <DataConnector id="staticAttributes" xsi:type="Static">
        <Attribute id="someVendorAccountID">
            <Value>WHATEVER-YOU-WANT</Value>
        </Attribute>
	<!-- possibly more static Attribute defintions -->
    </DataConnector>

Then release "someVendorCrap" in your attribute-filter.xml, only to
that SP.

-peter


More information about the users mailing list