<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: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 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Anyone interested in testing the ws-fedp support of Shib SP in a bridging scenario. The goal is to see what breaks because of a particular pattern.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I finally figured how to make Azure/ACS (Microsoft websso bridge) talk to PingFederate &#8211; which enforces the &#8220;PRIP&#8221; profile of ws-fedp. The &#8220;ACS pattern&#8221; should remind one of the SAML2 IDP proxy flow. The PRIP profile requires an asserting party to act as-If ADFS. This means sending an AuthenticationStatement to the Relying Party, whose element bears an authentication method, instant and associated NameID. <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>When ACS bridges to ADFS, one can configure a default (claim mapping) rule set that enables ACS as bridge to act as a (re-) asserting party, satisfying PRIP also. Interested folks should now be able to test the path ADFS-&gt;ACS-&gt;Shib-SP, where the Azure/ACS jsonp-based homerealm selector ought be invoked (*) when initiating sp-initiated websso.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>When ACS is configured to bridge Shib-SP to Google accounts, by default the rule set cannot talk to PingFederate (or Shib-SP, I suspect). By default, the rules fail to induce the asserting party to add the PRIP-required AuthenticationStatement to the outgoing assertion. However, one can add 2 rules to rule sets targeting PingFederate (or Shib-SP, presumably). These can induce the ACS, as asserting party, to add the mandatory AuthenticationStatement. This addition allowed me to complete an sp-initiated websso run, passing through the ACS homerealm selector and landing on Google (as IDP). As a result, the SP ultimately consumed a signed ACS assertion containing subject identity information sourced to Google. <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I see no reason why this very useful flow should not work with Shib-SP, or a Shib-IDP v3 that expects to be part of an (ws-fedp) IDP proxying chain.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>(*) the default ACS Homerealm selector shows no UI when there is only one possible IDP for a realm (SP EntityID); simply requesting an assertion from that only choice. One could change this UI behavior by no longer consuming the ACS HomeRealm&#8217;s UI while consuming the alternative jsonp feed of possible IDPs. Then, one presents one&#8217;s own UI concept &#8211; taking care not to introduced xss vulnerabilities, of course.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>