On 20/09/2018 09:38, Alex123 wrote:
Thank you for your answers.
The root of problem is clear for me.
But there is more specific questions
- How to override target classes?
- And why fail of one Ldap user breaks hole search response from Ldap
connector?
It does so because the controller raises an unchecked exception - I
agree that the it could behave differently.
I could not override javax.naming.ldap.Rdn with my own implementation.
Also I could not override net.tirasa.connid.bundles.ldap.commons.LdapUtil
class because ldap connector provided as standalone jar and is loaded to JVM
in run-time.
You have always the option to fork the LDAP connector, make your wanted
changes (possibly changing bundles coordinates or simply version) and
use your own with Syncope [1].
Or you can try other LDAP connectors out there compatible with ConnId.
Regards.
[1]
http://syncope.apache.org/docs/2.1/reference-guide.html#install-connector-bundles
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/