On Thu, Oct 11, 2012 at 10:36 AM, Peter Schober <span dir="ltr">&lt;<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Peter Schober &lt;<a href="mailto:peter.schober@univie.ac.at">peter.schober@univie.ac.at</a>&gt; [2012-10-11 16:29]:<br>
<div class="im">[..]</div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">You could simply rename the AttributeDefinition&#39;s id attribute and</div>

fix up the rest of your attribute-resolver.xml (dependencies, I<br>
assume) and your attribute-filter.xml for releasing it based on the<br>
new internal name.<br>
Or change the variable name, if the scriping language employed<br>
supports variable with dashes in them, I don&#39;t know.</blockquote><div><br></div><div>I still don&#39;t have all the terminology straight, but i think we&#39;re expressing the same thing.  What I&#39;ve done is:</div>
<div>a.) change the Scripted Attribute Definition code and ID to match, and changed it such that the variable name is a valid javascript var name</div><div>b.) added the following attribute, using the scripted attribute definition as the sourceattribute and just releasing it under a new name</div>
<div><br></div><div>    &lt;resolver:AttributeDefinition id=&quot;zonza-groups&quot; xsi:type=&quot;ad:Simple&quot;</div><div>        xmlns=&quot;urn:mace:shibboleth:2.0:resolver:ad&quot;</div><div>        sourceAttributeID=&quot;zonzagroups&quot;&gt;</div>
<div>        &lt;resolver:Dependency ref=&quot;zonzagroups&quot; /&gt;</div><div><br></div><div>        &lt;resolver:AttributeEncoder xsi:type=&quot;SAML1String&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot; name=&quot;<a href="http://grey.com/identity/zonza/zonza-groups">http://grey.com/identity/zonza/zonza-groups</a>&quot; /&gt;</div>
<div>        &lt;resolver:AttributeEncoder xsi:type=&quot;SAML2String&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot; name=&quot;<a href="http://grey.com/identity/zonza/zonza-groups">http://grey.com/identity/zonza/zonza-groups</a>&quot; friendlyName=&quot;zonza-groups&quot; /&gt;</div>
<div>     &lt;/resolver:AttributeDefinition&gt;</div><div><br></div><div><br></div><div>So, does this make sense or is there a more elegant or efficient way to achieve this ? </div></div>