template attribute definition possible bug?
Athanasios Douitsis
aduitsis at gmail.com
Mon Nov 2 15:39:51 EST 2015
On Mon, Nov 2, 2015 at 10:34 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> It's entirely possible.
Always glad to hear that, but at this point the solution eludes me :)
Assuming a number of mapped attributes like this:
<resolver:AttributeDefinition xsi:type="Mapped"
xmlns="urn:mace:shibboleth:2.0:resolver:ad"
id="attr1" sourceAttributeID="attr1"
dependencyOnly="true">
<resolver:Dependency ref="myLDAP" />
<DefaultValue>undefined</DefaultValue>
<ValueMap>
<ReturnValue>$1</ReturnValue>
<SourceValue>(.+)</SourceValue>
</ValueMap>
</resolver:AttributeDefinition>
Would kindly suggest what would I need to change in the template of my
original mail ?
<resolver:AttributeDefinition xsi:type="Template"
xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="testing">
<resolver:Dependency ref="attr1" />
<resolver:Dependency ref="attr2" />
<Template>
<![CDATA[
${attr1}:${attr2}
]]>
</Template>
<SourceAttribute>attr1</SourceAttribute>
<SourceAttribute>attr2</SourceAttribute>
</resolver:AttributeDefinition>
Cheers and thanks,
--
Athanasios Douitsis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151102/bf589f38/attachment.html>
More information about the users
mailing list