scripted attribute definition: non-JavaScript/non-Rhino ?

Peter Schober peter.schober at univie.ac.at
Mon Feb 13 16:09:31 GMT 2012


* Cantor, Scott <cantor.2 at osu.edu> [2012-02-13 17:03]:
> > I'm doing nothing special, just using (or creating) an attribute and
> > adding a single value via foo.getValues().add("bar"). Same as in
> > https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttribut
> > eDefinitionExamples#ResolverScriptAttributeDefinitionExamples-ex3
> 
> Does the name of the BasicAttribute you're creating match the id of
> the plugin?

Not sure what you mean exactly, but no, I'm creating (or adding to) an
eduPersonEntitlement, as in:

  var eduPersonEntitlement = new BasicAttribute("eduPersonEntitlement");

and the id for the scripted attribute def is something else, which
only appears once in the config -- other than as a dependency in the
default definition for eduPersonEntitlement,
-peter


More information about the users mailing list