<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:657880225;
        mso-list-type:hybrid;
        mso-list-template-ids:556153694 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1353414913;
        mso-list-template-ids:-811165456;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m working on having my Shibboleth IdP v4.0.1 absolve to another IdP (let’s call it IdP-NEW) for authentication. Therefore any applications/sites using my Shib-IdP for authentication will now absolve to IdP-NEW for authentication.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I followed this document on how to do this: <a href="https://shibboleth.atlassian.net/wiki/spaces/KB/pages/1459979597/Using+SAML+Proxying+to+another+IdP">
https://shibboleth.atlassian.net/wiki/spaces/KB/pages/1459979597/Using+SAML+Proxying+to+another+IdP</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Some good progress was made but I hit a wall. When IdP-NEW hands the attributes off to Shib-IdP it appears to get stuck here. It’s not taking these.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The workflow that works:  You go to the URL for the Shibboleth IdP enabled application that then redirects to IdP-NEW IdP for login. Once authentication there happens with the attributes set in the IdP-NEW relying party, we see that being
 passed back over to Shibboleth IdP. Shibboleth IdP doesn’t appear to be translating or sending those attributes it got from IdP-NEW along over to the application.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried doing some additional testing and looking at different documents and haven’t been able to find what is missing. What needs to be done to have the Shib-IdP to accept that attributes from IdP-NEW and then pass those along to the application
 to complete authentication? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are the changes I made to configure and enable it, please let me know what I am missing:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3;vertical-align:middle">
Uncomment the discoveryFunction and edit the target to match the entityID of IdP-NEW.<o:p></o:p></li></ol>
<p class="MsoNormal" style="margin-left:1.0in;vertical-align:middle">…/conf/authn/ saml-authn-config.xml<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.75in">    <bean id="shibboleth.authn.SAML.discoveryFunction" parent="shibboleth.Functions.Constant"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.75in">        c:target={IdP-NEW-entityID} /><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3">Add attribute filter entry for IdP-NEW<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="3" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3">Add entry to the attribute-resolver. This will transform the uid attribute from the Subject (the filtered data from the incoming assertion) into a proxied-uid attribute for use elsewhere:<o:p></o:p></li></ol>
<p class="MsoNormal">                                   <AttributeDefinition xsi:type="SubjectDerivedAttribute"<o:p></o:p></p>
<p class="MsoNormal">                                      forCanonicalization="true"<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">principalAttributeName="uid"  id="proxied-uid"  /><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><o:p> </o:p></p>
<ol style="margin-top:0in" start="4" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3">Set the AttributesToResolve in c14n/attribute-sourced-subject-c14n-config.xml to the 'proxied-uid' attribute created.  Added a AttributeSourceIds  as well.<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
    <util:list id="shibboleth.c14n.attribute.AttributesToResolve"><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
        <value>proxied-uid</value><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
    </util:list><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
 <o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
    <util:list id="shibboleth.c14n.attribute.AttributeSourceIds"><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
        <value>proxied-uid</value><o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in">
    </util:list><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="5" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3">Updated idp-metadata.xml to have it serve as an SP as well. Referring to what it noted under Preparation on this document:
<a href="https://shibboleth.atlassian.net/wiki/spaces/KB/pages/1459979597/Using+SAML+Proxying+to+another+IdP#UsingSAMLProxyingtoanotherIdP-Preparation">
https://shibboleth.atlassian.net/wiki/spaces/KB/pages/1459979597/Using+SAML+Proxying+to+another+IdP#UsingSAMLProxyingtoanotherIdP-Preparation</a> which was just adding the <SPSSODescriptor>  details with the certificates and AssertionConsumerService URL.
<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="6" type="1">
<li style="margin-top:0in;margin-bottom:0in;mso-list:l1 level1 lfo3">In general-authn.xml uncommented this:<o:p></o:p></li></ol>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
        <bean id="authn/SAML" parent="shibboleth.AuthenticationFlow"<o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
            p:nonBrowserSupported="false"<o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
            p:passiveAuthenticationSupported="true"<o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
            p:forcedAuthenticationSupported="true"<o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
            p:proxyScopingEnforced="true"<o:p></o:p></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:1.0in">
            p:discoveryRequired="true" /><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ol style="margin-top:0in" start="7" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo3">In idp.properties file updated the workflow to SAML<o:p></o:p></li></ol>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in">idp/authn/flows=SAML<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:.5in"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                <o:p></o:p></p>
<p class="MsoNormal">Thanks, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span style="font-size:13.0pt;font-family:"Times New Roman",serif;color:#201F1E;mso-fareast-language:ZH-CN">Brent Goebel</span></b><span style="color:#201F1E;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Times New Roman",serif;color:#201F1E;mso-fareast-language:ZH-CN">Systems Engineer III</span><span style="color:#201F1E;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-family:"Times New Roman",serif;color:#201F1E;mso-fareast-language:ZH-CN">Information Technology </span><span style="color:#830033;mso-fareast-language:ZH-CN">‖</span><span style="font-family:"Times New Roman",serif;color:#1F497D;mso-fareast-language:ZH-CN"> </span><span style="font-family:"Times New Roman",serif;color:#201F1E;mso-fareast-language:ZH-CN"> University
 of Denver</span><span style="color:#201F1E;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>