<div dir="ltr"><div>Hi all, <br></div><div><br></div><div>I'm seeing an error at starting, and can't figure out where is the problem.</div><div><br></div><div>The logs says, something like: Could not resolve placeholder 'idp.attribute.resolver.LDAP.searchFilter', however I have not write this at any place.</div><div><br></div><div>2020-03-13 12:12:00,176 -  - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] - Service 'shibboleth.AttributeResolverService': Initial load failed<br></div><div>net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'myLDAP' defined in null: Could not resolve placeholder 'idp.attribute.resolver.LDAP.searchFilter' in value "%{idp.attribute.resolver.LDAP.searchFilter}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'idp.attribute.resolver.LDAP.searchFilter' in value "%{idp.attribute.resolver.LDAP.searchFilter}"<br>        at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:377)<br>Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'myLDAP' defined in null: Could not resolve placeholder 'idp.attribute.resolver.LDAP.searchFilter' in value "%{idp.attribute.resolver.LDAP.searchFilter}"; nested exception is java.lang.IllegalArgumentException: <br></div><br><div><br></div><div>My LDAP connector in attribute-resolver.xml is:</div><div><br></div><div><DataConnector<br>    id="myLDAP"<br>    xsi:type="LDAPDirectory"<br>    ldapURL="%{idp.authn.LDAP.ldapUR}"<br>    baseDN="%{idp.authn.LDAP.baseDN}"<br>    principal="%{idp.authn.LDAP.bindDN}"<br>    principalCredential="%{idp.authn.LDAP.bindDNCredential}"<br>    trustFile="%{idp.authn.LDAP.trustCertificates}"><br>    <FilterTemplate><br>      <![CDATA[<br>                %{idp.authn.LDAP.searchFilter}<br>            ]]><br>    </FilterTemplate><br>    <ReturnAttributes>*</ReturnAttributes><br>  </DataConnector><br></div><div><br></div><div>And my ldap.properties is:</div><div><br></div><div>idp.authn.LDAP.authenticator = bindSearchAuthenticator<br>idp.authn.LDAP.ldapURL = ldap://localhost:389<br>idp.authn.LDAP.useStartTLS = false<br>idp.authn.LDAP.useSSL = false<br>idp.authn.LDAP.returnAttributes = uid<br>idp.authn.LDAP.baseDN = ou=people,dc=gusduarte,dc=tech<br>idp.authn.LDAP.userFilter = (uid={user})<br>idp.authn.LDAP.bindDN = cn=admin,dc=gusduarte,dc=tech<br>idp.authn.LDAP.bindDNCredential = pass123</div><div>idp.authn.LDAP.searchFilter = (uid=$resolutionContext.principal)<br></div><div><br></div><div><br></div><div>I don't understand why the system is complaining for 'idp.attribute.resolver.LDAP.searchFilter' if I didn't set in any place.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><br></div></div>