<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=utf-8">
<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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.moz-txt-citetags
        {mso-style-name:moz-txt-citetags;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Are you planning to place your IdP behind a load balancer acting as a reverse proxy? Then you could just remove the Basic Authentication headers there. In our
 case we have our IdP load balanced behind an F5 Big-IP anyway for failover so it’s easy to remove these headers. Maybe you have a similar set-up.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Vincent Feyaerts<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> users [mailto:users-bounces@shibboleth.net]
<b>On Behalf Of </b>Marco Naimoli<br>
<b>Sent:</b> woensdag 14 december 2016 14:57<br>
<b>To:</b> users@shibboleth.net<br>
<b>Subject:</b> Re: Basic Authentication on Password flow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Il 14/12/2016 14:18, <a href="mailto:users-request@shibboleth.net">
users-request@shibboleth.net</a> ha scritto:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<pre>On 12/14/16, 4:29 AM, "users on behalf of Marco Naimoli" <a href="mailto:users-bounces@shibboleth.netonbehalfofmarco.naimoli@unipd.it"><users-bounces@shibboleth.net on behalf of marco.naimoli@unipd.it></a> wrote:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span class="moz-txt-citetags">> </span>What is the correct and simpler way to disable this feature (hope it's not creating a new flow) ?<o:p></o:p></pre>
</blockquote>
<pre>There is no supported way. You can file a RFE for that, it would just take a fairly simple patch and you would be able to apply that ahead of time in a manner that would survive upgrades in the future since it would match the change made to the code.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I'd be curious why you care about this though.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-- Scott<o:p></o:p></pre>
</blockquote>
<p>I'd like to control to switch on or off this feature; I have this need because we have a test IDP installation, protected by a basic auth: users that wants<o:p></o:p></p>
<p>to use it must authenticate with a personal password. Then they can do their tests using test users with test passwords; in a standard IDP installation
<o:p></o:p></p>
<p>users receive an error about a failed authentication, due to the check of the basic auth data. It's an aesthetic problem, I could solve it modifying views,<o:p></o:p></p>
<p>probably, but I don't want also that anyone can authenticate "outside" the IDP, to avoid that a site/webapp can be used to collect user passwords<o:p></o:p></p>
<p>In the future I could choose to enable this feature, for some directly controlled SP: that's why I was looking a simple way (like changing a parameter)<o:p></o:p></p>
<p>to switch the feature on or off<o:p></o:p></p>
<p>Thank you very much<o:p></o:p></p>
<p>Marco<o:p></o:p></p>
</div>
</body>
</html>