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(String username,
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, wait
authenticate
public String getUsername()
getUsername
in interface UserPasswordCredentials
public String getPassword()
getPassword
in interface UserPasswordCredentials
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.