public class FileUserPasswordCredentials extends Object implements UserPasswordCredentials
It is advised not to store the file in a code repository for security reasons.
Format of the text file:
username = some_user_name
password = some_user_password
| Constructor and Description |
|---|
FileUserPasswordCredentials() |
FileUserPasswordCredentials(String credentialsLocation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
String |
getUsername() |
String |
toString() |
public FileUserPasswordCredentials()
public FileUserPasswordCredentials(@NotNull
String credentialsLocation)
public String getUsername()
getUsername in interface UserPasswordCredentialspublic String getPassword()
getPassword in interface UserPasswordCredentialsCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.