OpenSAML 2.0 and x500 Attribute

Cantor, Scott cantor.2 at osu.edu
Mon Nov 18 16:26:21 EST 2013


On 11/18/13, 4:18 PM, "Campbell, Shawn" <scampbell at malone.edu> wrote:

>I am trying to create a AttributeStatement containing an Attribute from
>an LDAP server source using the OpenSAML 2.0 libraries.  Below is an
>example of what I
> am trying to create:

Nobody follows the letter of the profile and the Encoding attribute is
never seen in the wild. Just skip it.

>I am not sure how to add the following XML attributes to the Attribute
>element:
> 
>xmlns:x500="urn:oasis:names:tc:SAML:2.0:profiles:attribute:X500"
> 
>x500:Encoding="LDAP"
> 
>Does anyone know how to handle this in the OpenSAML 2.0 library?

One is a namespace declaration, not an attribute. The Encoding attribute
would be added using the AttributeExtensibleXMLObject super interface.

But it's moot, just ignore it.

-- Scott




More information about the dev mailing list