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
ConstructorDescriptionSimpleUserPasswordCredentials
(@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, wait
Methods inherited from interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
authenticate
-
Constructor Details
-
Method Details
-
getUsername
Deprecated.- Specified by:
getUsername
in interfaceUserPasswordCredentials
-
getPassword
Deprecated.- Specified by:
getPassword
in interfaceUserPasswordCredentials
-
toString
Deprecated.
-
SimpleTokenCredentials
instead