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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

User management in Talend

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
Labels (2)
15 Replies
Anonymous
Not applicable
Author

Hi avdbrink,
I followed your process and calculated the hashvalue 1st using a dummy java: it gave me "dc647eb65e6711e155375218212b3964" for "Password".
Then what is the process after? because when i tried to paste this hash value in the equals() funtion is gave me error
thank you
Anonymous
Not applicable
Author

Hi,
You could use somthing like this for your If statement:
((String)globalMap.get("tMsgBox_1_RESULT")).equals("dc647eb65e6711e155375218212b3964")

What error did you get?
Regards,
Arno
Anonymous
Not applicable
Author

Hi arno,
I did as u said and when i execute the "IF" statement still false despite i am typing the right password as hashed by the MD5 function.
regards
Anonymous
Not applicable
Author

Hi,
I'm very sorry, I wasn't paying attention.
The correct code should be:
MD5.getHashString((String)globalMap.get("tMsgBox_1_RESULT")).equals("dc647eb65e6711e155375218212b3964")

In the previous code the entered password will not be crypted and thus won't match the crypted version.
Regards,
Arno
Anonymous
Not applicable
Author

Super, Arno its working !
One more thing, is it possible to have more than 1 condition is IF link(case when there is more than 1 password) ?
The purpose is to have more than 1 user executing the job, so is it possible to have many passwords ? If yes how can i implement it?
Regards
Anonymous
Not applicable
Author

Hi,
You could use a structure like this:
MD5.getHashString((String)globalMap.get("tMsgBox_1_RESULT")).equals("hash_of_1st_password") || MD5.getHashString((String)globalMap.get("tMsgBox_1_RESULT")).equals("hash_of_2nd_password") || MD5.getHashString((String)globalMap.get("tMsgBox_1_RESULT")).equals("hash_of_3rd_password")

and so on...
Another option would be to use some more extended functionality where you could use some database lookup to perform the check if the user entered a correct password, but that would be a completely different approach.
Regards,
Arno