Retrieve NameID

Peter Schober peter.schober at univie.ac.at
Fri Jun 29 11:53:14 EDT 2018


* George Glessner <gglessner at serviceexpress.com> [2018-06-29 17:48]:
> I added the following to my attribute-map: 
> 
> <Attribute name="urn:oasis:names:tc:SAML:2.0:attrname-format:basic" id="Email"/>
>          <AttributeDecoder xsi:type="xsd:string"/>
>     </Attribute>
> 
> Still am not seeing the attribute. I also tried: 
> 
> Attribute name="Email" nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic" id="Email"/>
>          <AttributeDecoder xsi:type="xsd:string"/>
>     </Attribute>
> 
> To no avail. 

Order of XML attributes don't matter, so the above are equivalent.
Also you can drop the Decoder, see the example in the docs called
"Example of a Simple String-valued Attribute with nameFormat".

Either should work and be equivalient to:
<Attribute name="Email" id="mail" nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"/>

so if you're saying you're "not seeing the attribute" we're probably
back to you not looking properly.

1. What does shibd.log say when recieving the attribute?
2. What does transaction.log day when reciecing the attribute?

Forget ASP, passing data on to downstream components is something to
look at once you're sure the SP software has processed the data
correctly.

-peter


More information about the users mailing list