Bonita 6.x Community LDAP Custon autheticator

Hi,
I’m trying to implement a java class for LDAP Custom authetication in Bonita 6.x community edition (not subscription), using the LDAP connector in a process. I found some threads:
http://community.bonitasoft.com//answers/do-bonita-bpm-integrates-ldap#comment-39049
but I don’t understand how to do it.
How can I integrate Bonita BPM with my LDAP, import everything?