multiple AttributeEncoders of the same type in an AttributeDefinition?

Cantor, Scott cantor.2 at osu.edu
Wed Sep 11 16:02:01 EDT 2013


On 9/11/13 3:46 PM, "Liam Hoekenga" <liamr at umich.edu> wrote:

>Is it legal to have multiple AttributeEncoders of the same type in a
>single AttributeDefinition?

Yes. But it will result in two copies of an attribute by different
names/encodings, since the release process is managed only by id.

>We're dealing with a vendor who expects
>
> <resolver:AttributeEncoder xsi:type="enc:SAML2String" name="email"
>friendlyName="mail" />

That's not exactly correct, you need to override the nameFormat to set the
Attribute's NameFormat value to something like "urn:...basic" (see spec
for constant).

-- Scott




More information about the users mailing list