Class SimpleUserPasswordCredentials

java.lang.Object
com.atlassian.bamboo.specs.util.SimpleUserPasswordCredentials
All Implemented Interfaces:
AuthenticationProvider, UserPasswordCredentials

@Deprecated public class SimpleUserPasswordCredentials extends Object implements UserPasswordCredentials
Deprecated.
since 7.1.0, use SimpleTokenCredentials instead
Simples way to provide user and password credentials for Bamboo. Consider using FileUserPasswordCredentials for more security.

Example of using it with user and password from main arguments:


     main(String[] args) {
         new BambooServer(args[0], new SimpleUserPasswordCredentials(args[1], args[2]));
     }