Static attributes
Peter Schober
peter.schober at univie.ac.at
Mon Nov 7 10:39:16 EST 2016
* Michael Dahlberg <olgamirth at gmail.com> [2016-11-07 16:23]:
> I assume this is a trivial thing to do and I'm just not looking in the
> right section of the wiki. Would this be called a mapped attribute
> definition, described here:
> https://wiki.shibboleth.net/confluence/display/IDP30/MappedAttributeDefinition
"Static", not "Mapped". (I agree, that's too easy to find.)
E.g. defining two attributes with one value each:
<resolver:DataConnector id="staticSchac" xsi:type="dc:Static">
<dc:Attribute id="schacHomeOrg">
<dc:Value>example.org</dc:Value>
</dc:Attribute>
<dc:Attribute id="fooBlah">
<dc:Value>the value</dc:Value>
</dc:Attribute>
</resolver:DataConnector>
Then reference that data connector when creating individual
AttributeDefinitions (with appropriate Encoders) for each attribute.
-peter
More information about the users
mailing list