nameID attribute not showing up in SP request
Stein, Eric
steine at locustec.com
Mon Jun 24 12:23:15 EDT 2013
Hi,
I have a client sending me a nameID as part of their SAML request. I need to put that value into the request headers from my Shibboleth SP. This is their SAML:
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">uid=XXXXX</saml:NameID>
I added the attribute to attribute-map.xml:
<Attribute name="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName" id="nameid">
<AttributeDecoder xsi:type="StringAttributeDecoder"/>
</Attribute>
I added the variable to Apache's httpd.conf and httpd-ssl.conf:
JkEnvVar nameid undefined
But when the request goes through and I call:
<b>--nameid</b> = <%=request.getAttribute("nameid")%><br/>
I'm still seeing:
--nameid = undefined
Did I miss a step somewhere?
Thanks,
Eric Stein
More information about the users
mailing list