Hi the community, I want to deploy Talend as an ETL , i have already did the jobs for the processing. but my problem is that i want to manage users in Talend. I want to secure it by forcing a user to connect to Talend(login+password) first before launching the JOB. Is it possible? or is there another way to secure my jobs ? thank you in advance
Hi,
Nice solution here Pedro.
I would suggest hasuhing the password prior to storing it in hte context and use the same hash function (MD5?) before the comparison inside the "If" statement, but this would mean you'd have to import some additional libraries. The password will be stored in plain text inside the job (and on the file system) otherwise.
Regards,
Arno
thank you pedro, As said avdbrink, the password here will be in clear text to the user that will clic on the components properties. Now how can i hash the password to make it crypted ??
Hi I'm using TOS 5.1.0 now. You will see an option called 'Mask Answer' on tMsgBox, which is able to change the clear text into ***. - tjava component - link ??? - jobs Use 'OnSubjobOK' here. Regards, Pedro
Hi,
Sure, using the "Mask Answer" option in the MsgBox will hide the password rfmo the user when entering, but when the user just opens the job and clicks the If condition row he/she will see the password.
I've used an MD5 library to hash values before. Found it on Talend exchange:
http://www.talendforge.org/exchange/tos/extension_view.php?eid=137 You can than use a function like this:
MD5.getHashString("MyPassword");
First use this code in a dummy tJava to print it to the console (using System.out.print) then copy paste the hash value in the If condition.
Hope this helps.
Regards,
Arno