SimpleTokenCredentials instead@Deprecated public class SimpleUserPasswordCredentials extends Object implements UserPasswordCredentials
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 and Description |
|---|
SimpleUserPasswordCredentials(@NotNull String username,
@NotNull String password)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Deprecated.
|
String |
getUsername()
Deprecated.
|
String |
toString()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthenticatepublic String getUsername()
getUsername in interface UserPasswordCredentialspublic String getPassword()
getPassword in interface UserPasswordCredentialsCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.