help xml-ifying a script attribute definition ?

Tom Zeller tzeller at unicon.net
Mon Feb 6 21:40:31 GMT 2012


Maybe an extension to MappedAttributeDefinition could allow a
<ReturnValue/> of the form

 <ReturnRefId>id_of_another_attribute_definition</ReturnRefId>

which means return the value of some other attribute definition.

This would provide switch-statement-ish attribute resolution in xml.

Is there documentation on conditional evaluation of attributes for
IdPv3 somewhere ? I guess I should search the wiki ...

On Wed, Jan 25, 2012 at 12:24 PM, Chad La Joie <lajoie at itumi.biz> wrote:
> Yes, that would have to be custom code.  I don't think it would be
> hard to write a plugin that extended the template attribute definition
> with the functionality you're talking about, if that was the route you
> wanted to go.
>

>> I would like the ReturnValue to be SomeAttribute.getValues(), not a
>> string, where SomeAttribute is not the attribute identified by
>> sourceAttributeID. Does that make sense ? I know, it is weird.
>>
>> Something like
>>
>>  <ReturnValue>SomeAttributeID</ReturnValue>
>>
>> or
>>
>>  <ReturnValue>SomeAttributeID.getValues()</ReturnValue>
>>
>> I think that would be custom code.


More information about the users mailing list