<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0in;
font-size:9.0pt;
font-family:Menlo;
color:#3F7F5F;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0in;
font-size:9.0pt;
font-family:Menlo;
color:#2A00FF;}
p.p3, li.p3, div.p3
{mso-style-name:p3;
margin:0in;
font-size:9.0pt;
font-family:Menlo;
color:#7F0055;}
span.s1
{mso-style-name:s1;
color:black;}
span.s2
{mso-style-name:s2;
color:#7F0055;}
span.s3
{mso-style-name:s3;
color:#2A00FF;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks Scott.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I followed the example here for conflicting requirements: </span><a href="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631672/CustomNameIDGenerationConfiguration#Dealing-with-Conflicting-Requirements" title="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631672/CustomNameIDGenerationConfiguration#Dealing-with-Conflicting-Requirements"><span style="color:#0563C1">https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631672/CustomNameIDGenerationConfiguration#Dealing-with-Conflicting-Requirements</span></a><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">saml-nameid.xml:<o:p></o:p></span></p>
<p class="p1"><span class="apple-converted-space"><span style="color:black">
</span></span><!-- Canvas --><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">
</span></span><span class="s1"><<b>bean</b> </span><span class="s2"><b>parent</b></span><span class="s1">=</span>"shibboleth.SAML2AttributeSourcedGenerator"<o:p></o:p></p>
<p class="p3"><span class="apple-converted-space"><span style="color:black">
</span></span><b>p</b><span class="s1">:</span><b>omitQualifiers</b><span class="s1">=</span><span class="s3">"true"</span><o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">
</span></span><span class="s2"><b>p</b></span><span class="s1">:</span><span class="s2"><b>format</b></span><span class="s1">=</span>"urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"<o:p></o:p></p>
<p class="p2"><span class="apple-converted-space"><span style="color:black">
</span></span><span class="s2"><b>p</b></span><span class="s1">:</span><span class="s2"><b>attributeSourceIds</b></span><span class="s1">=</span>"#{ {'canvas_name_id'} }"<o:p></o:p></p>
<p class="p3"><span class="apple-converted-space"><span style="color:black">
</span></span><b>p</b><span class="s1">:</span><b>activationCondition-ref</b><span class="s1">=</span><span class="s3">"CanvasCondition"</span><span class="s1"> /></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">services.xml:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F5FBF"><!-- Canvas --><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"><</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">bean</span><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">id</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"CanvasCondition"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">parent</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"shibboleth.Conditions.OR"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:teal">></span><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"><</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">constructor-arg</span><span style="font-size:9.0pt;font-family:Menlo;color:teal">></span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo"> <span style="color:teal">
<</span><span style="color:#3F7F7F">list</span><span style="color:teal">></span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"><</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">bean</span><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">parent</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"shibboleth.Conditions.RelyingPartyId"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">c:candidate</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"http://hbs-dev.instructure.com/saml2"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal">/></span><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"><</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">bean</span><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">parent</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"shibboleth.Conditions.RelyingPartyId"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">c:candidate</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"http://hbs-int.instructure.com/saml2"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal">/></span><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"><</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">bean</span><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">parent</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"shibboleth.Conditions.RelyingPartyId"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:#7F007F">c:candidate</span><span style="font-size:9.0pt;font-family:Menlo;color:black">=</span><i><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF">"http://hbs.instructure.com/saml2"</span></i><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal">/></span><span style="font-size:9.0pt;font-family:Menlo;color:#2A00FF"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo"> <span style="color:teal">
</</span><span style="color:#3F7F7F">list</span><span style="color:teal">></span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:black">
</span><span style="font-size:9.0pt;font-family:Menlo;color:teal"></</span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F">constructor-arg</span><span style="font-size:9.0pt;font-family:Menlo;color:teal">></span><span style="font-size:9.0pt;font-family:Menlo;color:#3F7F7F"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo"> <span style="color:teal">
</</span><span style="color:#3F7F7F">bean</span><span style="color:teal">></span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">What is the purpose of NameIDFormatFilter (<a href="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631650/NameIDFormatFilter">https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631650/NameIDFormatFilter</a>)?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Sunil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Cantor, Scott <cantor.2@osu.edu><br>
<b>Date: </b>Friday, March 18, 2022 at 1:32 PM<br>
<b>To: </b>Mathew, Sunil <smathew@hbs.edu>, Shib Users <users@shibboleth.net><br>
<b>Subject: </b>Re: IDP 4.1.5 Nameid <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">On 3/18/22, 12:57 PM, "Mathew, Sunil" <smathew@hbs.edu> wrote:<br>
<br>
> Does that mean if I have to define nameids for each SP, I will have to configure separate<br>
> SAML2AttributeSourcedGenerator in saml-nameid.xml?<br>
<br>
No, because a NameID is based on its Format, not the SP. You should never allow an SP to violate that rule.<br>
<br>
-- Scott<br>
<br>
<o:p></o:p></span></p>
</div>
</div>
</body>
</html>