Static attributes
Michael Dahlberg
olgamirth at gmail.com
Tue Nov 15 09:05:14 EST 2016
I'm a bit confused about the documentation described in
https://wiki.shibboleth.net/confluence/display/IDP30/StaticDataConnector
It looks as if two different methods of creating static data connectors are
described. The first, just a standard description in
attribute-resolver.xml; the second uses the springResources or
springResourcesRef attributes. Is one method preferred over the other?
Thanks,
Mike
On Mon, Nov 7, 2016 at 10:54 AM, Michael Dahlberg <olgamirth at gmail.com>
wrote:
> Excellent. Thank you very much, Peter.
>
> Mike
>
> On Mon, Nov 7, 2016 at 10:39 AM, Peter Schober <peter.schober at univie.ac.at
> > wrote:
>
>> * 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/MappedA
>> ttributeDefinition
>>
>> "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
>> --
>> To unsubscribe from this list send an email to
>> users-unsubscribe at shibboleth.net
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161115/9ed50a02/attachment-0001.html>
More information about the users
mailing list