<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=iso-8859-1">
<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:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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;}
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;
        mso-fareast-language:EN-US;}
@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="FR-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA">Dear Shibboleth users list’s members,
<br>
<br>
I am humbly looking for help in the following context. <br>
<br>
I am newly playing with Shibboleth IDP 4, using the docker image from i2incommon/shib-idp:4.1.7_20220418.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">The last time I played with shibidp, it was on version 2. As a newbie with shibidp4 and Spring, I first succeed to authenticate against a single branch of our institutional Active Directory forest.<br>
<br>
My next goal would be to authenticate against the multiples branches of AD (each branch contains mutually exclusive types of accounts).<br>
<br>
As AD does not support extensible matching, I figured out that I could re-use the block that appears in the IDP30 doc under the title “Example for two Active Directories with two DN Resolvers for each” available at the URL
<a href="https://shibboleth.atlassian.net/wiki/spaces/IDP30/pages/2494726327/LDAPAuthnConfiguration#LDAPAuthnConfiguration-ExamplefortwoActiveDirectorieswithtwoDNResolversforeach">
https://shibboleth.atlassian.net/wiki/spaces/IDP30/pages/2494726327/LDAPAuthnConfiguration#LDAPAuthnConfiguration-ExamplefortwoActiveDirectorieswithtwoDNResolversforeach</a>.<br>
<br>
On the IDP30 doc, the block is intended to be added in the ldap-authn-config.xml file. As I a am working with IDP41, for which the ldap-authn-config.xml file deprecated, I instead added the block just before the last line of my password-authn-config.xml.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><br>
I also modified accordingly the ldap.properties file, in particular : <br>
idp.authn.LDAP.authenticator = adAggregateAuthenticator<br>
<br>
Now, when I visit a SP that sends me to the authentication page, I receive an error about
<b>“</b><strong><span style="font-family:"Calibri",sans-serif;font-weight:normal">authenticatorType property did not have a valid value” (full error below).</span></strong><br>
<br>
Reading that, I feel that the name adAggregateAuthenticator may be the “not valid value”.
<br>
<br>
Well, I would be pleased to get advices to achieve my goal. <br>
<br>
Best regards,<br>
Stéphanie<br>
<br>
P.S. The full error message displayed on screen : <br>
<br>
Uncaught Exception<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">A software error was encountered that prevents normal operation:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-CA">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.Password.Validators': Cannot resolve reference to bean 'shibboleth.LDAPValidator' while
 setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ValidateUsernamePasswordAgainstLDAP' defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]:
 Cannot resolve reference to bean 'shibboleth.authn.LDAP.authenticator' while setting bean property 'authenticator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.authn.LDAP.authenticator'
 defined in class path resource [net/shibboleth/idp/flows/authn/password-authn-beans.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: PropertyAccessException
 1: org.springframework.beans.MethodInvocationException: Property 'authenticatorType' threw exception; nested exception is java.lang.IllegalArgumentException: authenticatorType property did not have a valid value<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;mso-fareast-language:FR-CA">______________________________</span><span style="font-size:10.5pt;font-family:Consolas;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA">Stéphanie Lanthier<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA">Conseillère en architecture d’entreprise<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><a href="https://servicesinformatiques.uqam.ca/"><span style="font-size:10.5pt;font-family:Consolas;color:blue">Services informatiques</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA">
 – Service aux utilisateurs<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA">Université du Québec à Montréal<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR-CA"><a href="mailto:lanthier.stephanie@uqam.ca"><span style="font-size:10.5pt;font-family:Consolas;color:blue">lanthier.stephanie@uqam.ca</span></a></span><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas;color:#1F497D;mso-fareast-language:FR-CA">514 987-3000 poste 3510<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>