Hello All,
My Jenkins is running in Windows 7 and I have enabled LDAP authentication for it.
I would like to use the REST api of Jenkins via my Java program to get some job config.xml.
I am using HttpURLConnection to connect to REST api of Jenkins and read the xml.
The problem is that as I am using Basic Authentication like this , conn.setRequestProperty("Authorization", "Basic " + authStringEnc); , I feel it is not safe to send via internet.
Also, I will not know the username and password of the user who will be using my application. (And I cannot ask for them as well)
User may or maynot have logged into Jenkins atleast once.
So , is there any way to get the config.xml using Jenkins REST api either without using credentials of the user or using something like NTLM?
Kindly help me.
Thank you in advance!!
Thanks
Vinodhini