decoders for eduPersonTargetedID

Selvaraj, Dineshkumar (ELS-DAY) dineshkumar.selvaraj at lexisnexis.com
Tue Oct 23 23:30:32 EDT 2012


Hi,

Do we have any attribute decoder which can decode the simple and complex type SAML 2 attribute ? can we use multiple decoders for same attribute name  & id (eduPersonTargetedID
urn:oid:1.3.6.1.4.1.5923.1.1.1.10)  in attribute-map.xml ?

<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="eduPersonTargetedID"
         <AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$Name" defaultQualifiers="false"/>
   </Attribute>
<Attribute name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" id="eduPersonTargetedID"
         <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/>
   </Attribute>

StringAttributeDecoder fails to decode complex type attributes. below is the error

03:03:18.444(10/11) DEBUG Shibboleth.AttributeDecoder.String : decoding SimpleAttribute (eduPersonTargetedID) from SAML 2 Attribute (urn:oid:1.3.6.1.4.1.5923

.1.1.1.10) with 1 value(s)

03:03:18.444(10/11) WARN  Shibboleth.AttributeDecoder.String : skipping complex AttributeValue


NameIDAttributeDecoder fails to decode simple attribute. below is the error

17:11:06.746(10/16) DEBUG Shibboleth.AttributeDecoder.NameID : decoding NameIDAttribute (eduPersonTargetedID) from SAML 2 Attribute (urn:oid:1.3.6.1.4.1.5923.1.1.1.10)

with 1 value(s)

17:11:06.747(10/16) WARN  Shibboleth.AttributeDecoder.NameID : AttributeValue was not of a supported type and contains no child elements

17:11:06.747(10/16) INFO  Shibboleth.AttributeExtractor.XML : skipping unmapped SAML 2.0 Attribute with Name: urn:oid:1.3.6.1.4.1.5923.1.1.1.10

Thanks,
Dinesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20121024/a1b7d96a/attachment.html 


More information about the dev mailing list