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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
String |
getUsername() |
String |
toString() |
public String getUsername()
getUsername in interface UserPasswordCredentialspublic String getPassword()
getPassword in interface UserPasswordCredentialsCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.