You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We have converted over to using Bamboo Specs and have some users complaining that the .credentials file which is needed to run the Java files is in plain text (even though it is only local).
Is there a way to use a more secure method other than a plain text file?
You could try the UserPasswordCredentials interface:
String bambooUrl = args; UserPasswordCredentials adminUser = new SimpleUserPasswordCredentials(args, args); BambooServer server = new BambooServer(bambooUrl, adminUser); server.publish(createPlan());;
Just instead of geting the credentials from the args or the .credentials file you could store the credentials in other file or variable (encrypted) and then decrypt the values in java.
Hope it helps :)
Thanks for the response. It gives me hope that there might be a solution but there are some things I probably should have added but was in a hurry for a response.
I am not a Java developer
Our Java files are direct cut-n-paste from Bamboo (with minor class name edits)
We are currently using version 6.6.3 (in process of upgrading to 7.0.3 on July 10th)
We have hundreds of plans that we run from within IntelliJ (not CLI) so preferable minimal changes to file or ease of passing within the IDE.
Need something as simple as possible ;)