is there a way to make use of password file in api's instead of hardcoding my password?
![]()
Hello,
is there a way to make use of password file/encrypted password in api's instead of hardcoding my password? any help will be greatly appreciated. Thanks Shruti |
One answer
![]()
see the accepted answer here
https://jazz.net/forum/questions/156705/is-there-support-for-password-files-in-the-plain-java-client-api I supplied some sample code to show how to do this |
Comments
Which APIs? Our team uses the Java APIs alot and we always load the userid/password from a file so that multiple people can use the program all with supplying their own credentials.
Hi Susan,
Thanks for the immediate reply.
I am making use of Java client api's to login to rtc and fetch project area details.
I am hardcoding my password as of now.
but I want to make use of something like as you mentioned.
Thanks
Shruti