Package com.atlassian.bamboo.specs.util
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.
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]));
}
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleUserPasswordCredentials(@NotNull String username, @NotNull String password) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
authenticate
-
Constructor Details
-
Method Details
-
getUsername
Deprecated.- Specified by:
getUsernamein interfaceUserPasswordCredentials
-
getPassword
Deprecated.- Specified by:
getPasswordin interfaceUserPasswordCredentials
-
toString
Deprecated.
-
SimpleTokenCredentialsinstead