Troubles with idp.authn.LDAP.returnAttributes property

Guillaume Rousse guillaume.rousse at renater.fr
Fri Oct 4 04:58:54 EDT 2019


Le 03/10/2019 à 17:56, Guillaume Rousse a écrit :
>> I may still be misunderstanding this but AFAICT it works as desiged:
>> You told the IDP to get everything by setting the property to nothing,
>> That's LDAP search request attribtues for you.
> That would be true if ldap-authn-config.xml didn't imposed a default 
> value, ie:
> <constructor-arg
>   type="java.lang.String"
>   value="%{idp.authn.LDAP.returnAttributes}"
> />
> 
> However, it is supposed to enforce '1.1' as default value:
> <constructor-arg
>   type="java.lang.String"
>   value="%{idp.authn.LDAP.returnAttributes:1.1}"
> />
A colleague just gave me the explanation: a property without a value in 
a property file is defined, but empty. And the default value defined by 
Spring syntax doesn't apply in this case.

Now I can fix the original issue.

Regards.
-- 
Guillaume Rousse
Pôle SSI

Tel: +33 1 53 94 20 45
www.renater.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3637 bytes
Desc: Signature cryptographique S/MIME
URL: <http://shibboleth.net/pipermail/users/attachments/20191004/01250d99/attachment.p7s>


More information about the users mailing list