Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes

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



One answer

Permanent link
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

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 1,700
× 383

Question asked: Jul 11 '14, 4:12 a.m.

Question was seen: 7,781 times

Last updated: Jul 11 '14, 8:15 a.m.

Confirmation Cancel Confirm