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.since 7.1.0, useSimpleTokenCredentialsinsteadSimples way to provide user and password credentials for Bamboo. Consider usingFileUserPasswordCredentialsfor 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
Constructors Constructor Description SimpleUserPasswordCredentials(@NotNull String username, @NotNull String password)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetPassword()Deprecated.StringgetUsername()Deprecated.StringtoString()Deprecated.-
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
-
-
-
-
Method Detail
-
getUsername
public String getUsername()
Deprecated.- Specified by:
getUsernamein interfaceUserPasswordCredentials
-
getPassword
public String getPassword()
Deprecated.- Specified by:
getPasswordin interfaceUserPasswordCredentials
-
-