<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@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:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
span.E-MailFormatvorlage17
{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: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 lang="EN-US" link="#0563C1" vlink="#954F72">
<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 upgrading from IdP 2 to IdP 3.2.1.<o:p></o:p></p>
<p class="MsoNormal">At IdP 2 we used the AuthenticationMethods “<tt><span style="font-size:10.0pt">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</span></tt><span style="font-size:10.0pt;font-family:Consolas;color:black">” and “</span><tt><span style="font-size:10.0pt">urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</span></tt><span style="font-size:10.0pt;font-family:Consolas;color:black">”
in the SAML Authn Requests to select an LoginHandler.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal">Now at IdP3 I wanted to use the AuthenticationMethods to select an authentication flow.<o:p></o:p></p>
<p class="MsoNormal">While doing some research I found this ticket <a href="https://issues.shibboleth.net/jira/browse/IDP-780">
https://issues.shibboleth.net/jira/browse/IDP-780</a> .<o:p></o:p></p>
<p class="MsoNormal">So I added the following lines in general-authn.xml to the AvailableAuthenticationFlows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <bean id="authn/Password" parent="shibboleth.AuthenticationFlow"<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> p:passiveAuthenticationSupported="true"<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> p:forcedAuthenticationSupported="true"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <property name="supportedPrincipals"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <util:list><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <bean parent="shibboleth.SAML2AuthnContextClassRef"<o:p></o:p></span></tt></p>
<p class="MsoNormal" style="margin-left:180.0pt"><tt><span style="font-size:10.0pt"> c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" /><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </util:list><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </property><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </bean><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <o:p>
</o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <bean id="authn/IdpLoginToken" parent="shibboleth.AuthenticationFlow"<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> p:passiveAuthenticationSupported="true"<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> p:forcedAuthenticationSupported="true"<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> p:nonBrowserSupported="false"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <property name="supportedPrincipals"><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <util:list><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> <bean parent="shibboleth.SAML2AuthnContextClassRef"
<o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified"/><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </util:list><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </property><o:p></o:p></span></tt></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt"> </bean><o:p></o:p></span></tt></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">No when I’m sending an AuthnRequest with PasswordProtectedTransport AuthenticationMethod, the IdP shows me the auth/Password flow with the Username/Password form
<span style="font-family:Wingdings">à</span> okay.<o:p></o:p></p>
<p class="MsoNormal">But when I’m sending an AuthRequest with unspecified AuthenticationMethod, the IdP also shows me the Username/Password form instead it calls the IdpLoginToken flow.<o:p></o:p></p>
<p class="MsoNormal">In the idp-process log it says: “<tt><span style="font-size:10.0pt">Profile Action ProcessRequestedAuthnContext: Ignoring AuthnContextClassRef: urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</span></tt>”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So what am I doing wrong? Why does the IdP ignore my unspecified AuthContextClassRef?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hope the description of my problem was clear enough ;)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for any kind of help!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Greets Patrick<o:p></o:p></p>
</div>
</body>
</html>