Hi CXF developers,

I’m trying to understand if there is a bug or a feature that I don’t understand 
in the LDAP Repository implementation for CXF XKMS.

https://github.com/apache/cxf/blob/master/services/xkms/xkms-x509-repo-ldap/src/main/java/org/apache/cxf/xkms/x509/repo/ldap/LdapCertificateRepo.java
Line 206, 207

Here the service LDAP template filter gets applied first (looks fine to me), 
but then the result is send to the getCertificateForUIDAttr method. Here the 
UIDAttribute LDAP filter gets applied on top of the other filter, making the 
first filter useless (or even breaks it).
So from my perspective line 207 should look like line 241.

Can you confirm?

Jan


Reply via email to