generating scoped attributes in ad:Script

Cantor, Scott cantor.2 at
Thu Feb 21 20:09:48 EST 2013

On 2/21/13 8:00 PM, "Peter Schober" <peter.schober at> wrote:

>Is it possible to generate attributes in a type="Script" attribute
>definition other than instantiations of BasicAttribute, e.g. scoped

Should be, I think you just have to create the proper value types, I think.

>I can't just attach SAML2ScopedString encoders to the result of the
>  java.lang.ClassCastException: java.lang.String cannot be cast to

The values added to the object would need to be of that type, but I don't
know the syntax for doing that. Does using "new ScopedAttributeValue()"
and then adding that to the BasicAttribute values collection work?

-- Scott

More information about the users mailing list