String Encoding for Talend/JaspersoftETL for Basic Authentication/md5/sha-256
What is a convenient way to encode usernames/passwords for use in my ETL jobs?
First copy the java code on this Github Gist into yourclipboard:
Second Create a routine calledhashingUtils (name is important!). Paste the Java code from above and save theroutine
Third you can now use the following methodsin any component:
hashingUtils.basicAuth("username","password")
hashingUtils.md5encode("string")
hashingUtils.sha256encode("string")
For example, in a tHttpRequest Component:
Recommended Comments
There are no comments to display.