Thanks for the info Chad.<div>I saw in an earlier post that Scott was going to post an example... do you know if this ever happened as it would be very useful right about now!</div><div>Thanks again,</div><div>Regards, Pete<br>
<br><div class="gmail_quote">On 22 June 2012 12:20, Chad La Joie <span dir="ltr">&lt;<a href="mailto:lajoie@itumi.biz" target="_blank">lajoie@itumi.biz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You would use a special Session Initiator for that:<br>
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionInitiator#NativeSPSessionInitiator-SAML2SessionInitiator%28ProtocolHandler%29" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionInitiator#NativeSPSessionInitiator-SAML2SessionInitiator%28ProtocolHandler%29</a><br>

<br>
That allows you to set the request NameID format via an attribute on the<br>
&lt;SessionInitiator&gt;.  Note, if they require more customization of the<br>
&lt;AuthnRequest&gt; that &lt;SessionInitiator&gt; will take a template<br>
&lt;AuthnRequest&gt; as a child and then you can add whatever random stuff<br>
they want to it.<br>
<div class="im"><br>
On 6/22/12 7:13 AM, Pete Newing wrote:<br>
&gt; All,<br>
&gt; I&#39;ve installed a new 2.4.3 SP and, following the wiki instructions,<br>
&gt; successfully tested it against TestShib Two.<br>
&gt; I&#39;ve now changed this to point to a clients commercial IdP and found an<br>
&gt; issue with authentication.<br>
&gt; The client is telling me that I need to provide a specific name ID<br>
&gt; format in my SAML auth request.<br>
&gt; I&#39;ve had a look in the archives and the wiki and it looks like I need an<br>
&gt; AuthnRequest.<br>
&gt; But I can&#39;t see where I would put this in my shibboleth2.xml file?<br>
&gt; Could someone point me in the right direction please... Thanks in advance...<br>
&gt;<br>
&gt; Here&#39;s a sanitized copy of the file....<br>
&gt; &lt;SPConfig xmlns=&quot;urn:mace:shibboleth:2.0:native:sp:config&quot;<br>
&gt; xmlns:md=&quot;urn:oasis:names:tc:SAML:2.0:metadata&quot;<br>
&gt;     clockSkew=&quot;1800&quot;&gt;<br>
&gt;<br>
&gt;     &lt;!-- Windows RequestMapper --&gt;<br>
&gt;     &lt;!-- The RequestMap defines portions of the webspace to protect;<br>
</div>&gt; <a href="http://mysp.example.com/" target="_blank">mysp.example.com/</a> &lt;<a href="http://mysp.example.com/" target="_blank">http://mysp.example.com/</a>&gt; here. --&gt;<br>
<div class="im">&gt;     &lt;!--<br>
&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPRequestMap" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPRequestMap</a> --&gt;<br>
&gt;     &lt;RequestMapper type=&quot;Native&quot;&gt;<br>
&gt;         &lt;RequestMap applicationId=&quot;default&quot;&gt;<br>
</div>&gt;             &lt;Host name=&quot;<a href="http://mysp.example.com" target="_blank">mysp.example.com</a> &lt;<a href="http://mysp.example.com" target="_blank">http://mysp.example.com</a>&gt;&quot;&gt;<br>
<div><div class="h5">&gt;                 &lt;Path name=&quot;/&quot; authType=&quot;shibboleth&quot; requireSession=&quot;true&quot;/&gt;<br>
&gt;             &lt;/Host&gt;<br>
&gt;         &lt;/RequestMap&gt;<br>
&gt;     &lt;/RequestMapper&gt;<br>
&gt;<br>
&gt;     &lt;!-- The entityID is the name made for this SP. --&gt;<br>
&gt;     &lt;ApplicationDefaults entityID=&quot;<a href="https://mysp.example.com/shibboleth-sp" target="_blank">https://mysp.example.com/shibboleth-sp</a>&quot;<br>
&gt;         REMOTE_USER=&quot;eppn persistent-id targeted-id&quot;&gt;<br>
&gt;<br>
&gt;         &lt;!-- You should use secure cookies if at all possible.  See<br>
&gt; cookieProps in this Wiki article. --&gt;<br>
&gt;         &lt;!--<br>
&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessions" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessions</a> --&gt;<br>
&gt;         &lt;Sessions lifetime=&quot;28800&quot; timeout=&quot;3600&quot; checkAddress=&quot;false&quot;<br>
&gt; relayState=&quot;ss:mem&quot; handlerSSL=&quot;false&quot;&gt;<br>
&gt;<br>
&gt;             &lt;!-- Triggers a login request directly to the myTargetIdP<br>
&gt; IdP. --&gt;<br>
&gt;             &lt;!--<br>
&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceSSO" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceSSO</a> --&gt;<br>
&gt;             &lt;SSO entityID=&quot;<a href="https://myTargetIdP.com/saml20" target="_blank">https://myTargetIdP.com/saml20</a>&quot;&gt;<br>
&gt;                 SAML2 SAML1<br>
&gt;             &lt;/SSO&gt;<br>
&gt;<br>
&gt;             &lt;!-- SAML and local-only logout. --&gt;<br>
&gt;             &lt;!--<br>
&gt; <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceLogout" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceLogout</a><br>
&gt; --&gt;<br>
&gt;             &lt;Logout&gt;SAML2 Local&lt;/Logout&gt;<br>
&gt;<br>
&gt;             &lt;!--<br>
&gt;                 Handlers allow you to interact with the SP and gather<br>
&gt; more information.  Try them out!<br>
&gt;                 Attribute values received by the SP through SAML will be<br>
&gt; visible at:<br>
&gt;                 <a href="http://mysp.example.com/Shibboleth.sso/Session" target="_blank">http://mysp.example.com/Shibboleth.sso/Session</a><br>
&gt;             --&gt;<br>
&gt;<br>
&gt;             &lt;!-- Extension service that generates &quot;approximate&quot; metadata<br>
&gt; based on SP configuration. --&gt;<br>
&gt;             &lt;Handler type=&quot;MetadataGenerator&quot; Location=&quot;/Metadata&quot;<br>
&gt; signing=&quot;false&quot;/&gt;<br>
&gt;<br>
&gt;             &lt;!-- Status reporting service. --&gt;<br>
&gt;             &lt;Handler type=&quot;Status&quot; Location=&quot;/Status&quot; acl=&quot;127.0.0.1&quot;/&gt;<br>
&gt;<br>
&gt;             &lt;!-- Session diagnostic service. --&gt;<br>
&gt;             &lt;Handler type=&quot;Session&quot; Location=&quot;/Session&quot;<br>
&gt; showAttributeValues=&quot;true&quot;/&gt;<br>
&gt;<br>
&gt;             &lt;!-- JSON feed of discovery information. --&gt;<br>
&gt;             &lt;Handler type=&quot;DiscoveryFeed&quot; Location=&quot;/DiscoFeed&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;/Sessions&gt;<br>
&gt;<br>
&gt;         &lt;!-- Error pages to display to yourself if something goes<br>
&gt; horribly wrong. --&gt;<br>
&gt;         &lt;Errors supportContact=&quot;<a href="mailto:me@my-email.com">me@my-email.com</a><br>
</div></div>&gt; &lt;mailto:<a href="mailto:me@my-email.com">me@my-email.com</a>&gt;&quot; logoLocation=&quot;logo.jpg&quot;<br>
<div><div class="h5">&gt;                 styleSheet=&quot;main.css&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;!-- Loads and trusts a metadata file that describes MyTargetIdP<br>
&gt; IdP and how to communicate with it. --&gt;<br>
&gt;         &lt;MetadataProvider type=&quot;XML&quot; file=&quot;/etc/shibboleth/myTagetIdP.xml&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;!-- Attribute and trust options you shouldn&#39;t need to change. --&gt;<br>
&gt;         &lt;AttributeExtractor type=&quot;XML&quot; validate=&quot;true&quot;<br>
&gt; path=&quot;attribute-map.xml&quot;/&gt;<br>
&gt;         &lt;AttributeResolver type=&quot;Query&quot; subjectMatch=&quot;true&quot;/&gt;<br>
&gt;         &lt;AttributeFilter type=&quot;XML&quot; validate=&quot;true&quot;<br>
&gt; path=&quot;attribute-policy.xml&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;!-- Your SP generated these credentials.  They&#39;re used to talk<br>
&gt; to IdP&#39;s. --&gt;<br>
&gt;         &lt;CredentialResolver type=&quot;File&quot; key=&quot;sp-key.pem&quot;<br>
&gt; certificate=&quot;sp-cert.pem&quot;/&gt;<br>
&gt;<br>
&gt;     &lt;/ApplicationDefaults&gt;<br>
&gt;<br>
&gt;     &lt;!-- Security policies you shouldn&#39;t change unless you know what<br>
&gt; you&#39;re doing. --&gt;<br>
&gt;     &lt;SecurityPolicyProvider type=&quot;XML&quot; validate=&quot;true&quot;<br>
&gt; path=&quot;security-policy.xml&quot;/&gt;<br>
&gt;<br>
&gt;     &lt;!-- Low-level configuration about protocols and bindings available<br>
&gt; for use. --&gt;<br>
&gt;     &lt;ProtocolProvider type=&quot;XML&quot; validate=&quot;true&quot; reloadChanges=&quot;false&quot;<br>
&gt; path=&quot;protocols.xml&quot;/&gt;<br>
&gt;<br>
&gt; &lt;/SPConfig&gt;<br>
&gt;<br>
&gt; Regards, Pete<br>
&gt;<br>
</div></div>&gt; *Peter L.K. Newing, CISSP, CISA, ITIL V3 Foundation, ISO 27001 Lead Auditor*<br>
&gt;<br>
&gt; *Director of **Product Management*<br>
&gt;<br>
&gt; * *<br>
&gt;<br>
&gt; UK Mobile: <a href="tel:%2B44%207545%20073%20406" value="+447545073406">+44 7545 073 406</a> &lt;tel:%2B44%207545%20073%20406&gt;<br>
&gt; US Mobile: <a href="tel:%2B1%20424%20789%200265" value="+14247890265">+1 424 789 0265</a> &lt;tel:%2B1%20424%20789%200265&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt; Flexeye Technology Ltd<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This email and any attachments are confidential and may be privileged.<br>
&gt; If you have received it in error, do not read it, copy it, forward it,<br>
&gt; disclose its contents or use it for any purpose.  Please notify us<br>
&gt; immediately and then delete it.  Any views or opinions expressed are<br>
&gt; solely those of the author and not necessarily those of Flexeye<br>
&gt; Technology Ltd. This email was sent from Flexeye Technology Limited,<br>
&gt; Hays House, Millmead, Guildford GU2 4HJ. Registered Office: Wey Court<br>
&gt; West, Union Road, Farnham, Surrey GU9 7PT United Kingdom.  Registered in<br>
&gt; England No 4852559. VAT no GB 821 3432 66A<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
&gt;<br>
<br>
--<br>
Chad La Joie<br>
<a href="http://www.itumi.biz" target="_blank">www.itumi.biz</a><br>
trusted identities, delivered<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">
<p style="margin:0px"><b>Peter L.K. Newing, CISSP, CISA, ITIL V3 Foundation, ISO 27001 Lead Auditor</b></p>
<p style="margin:0px"><b><span lang="EN-GB">Director of </span></b><b><span lang="EN-GB">Product Management</span></b></p>
<p style="margin:0px"><b><span lang="EN-GB"> </span></b></p>
<div style="margin:0px"><span style="font-family:&quot;Imprint MT Shadow&quot;" lang="EN-GB">UK Mobile: +44 7545 073 406</span></div><div style="margin:0px"><span style="font-family:&quot;Imprint MT Shadow&quot;" lang="EN-GB">US Mobile: +1 424 789 0265</span></div>

<p style="margin:0px"><span style="font-family:&quot;Imprint MT Shadow&quot;" lang="EN-GB"> </span></p>
<p style="margin:0px"><span style="font-family:&quot;Imprint MT Shadow&quot;" lang="EN-GB">Flexeye Technology Ltd</span></p>
<p style="margin:0px"><span style="font-family:&quot;Imprint MT Shadow&quot;" lang="EN-GB"> </span></p>
<p style="margin:0px"><span style="font-family:Consolas;font-size:8pt">This email and any attachments are confidential and may be privileged.  If you have received it in error, do not read it, copy it, forward it, disclose its contents or use it for any purpose.  Please notify us immediately and then delete it.  Any views or opinions expressed are solely those of the author and not necessarily those of Flexeye Technology Ltd. This email was sent from Flexeye Technology Limited, Hays House, Millmead, Guildford GU2 4HJ. Registered Office: Wey Court West, Union Road, Farnham, Surrey GU9 7PT United Kingdom.  Registered in England No 4852559. VAT no GB 821 3432 66A</span></p>
</span><br>
</div>