Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
imholzj
Contributor III
Contributor III

tJava accessing LDAP connection

Can I access a LDAP connection while writing java in a tJava?

Does anyone have an example?

jji

Labels (3)
2 Replies
anselmopeixoto
Partner - Creator III
Partner - Creator III

Hi @imholzj imholzj​ 

 

Yes you can.

 

I suggest you use the following link as an example: https://stackoverflow.com/questions/12317205/ldap-authentication-using-java

 

You can use the code provided on the reference above on a tJava or create a routine and call it from tJava. I used it in the past with some adaptations for my environment.

imholzj
Contributor III
Contributor III
Author

Thanks, but I want to use a connection created earlier in the job (with a tLDAPconnection component) in the Java code.

 

jji