FileTokenCredentials
@Deprecated 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
Modifier and Type | Field and Description |
---|---|
protected static String |
PASSWORD_PROPERTY
Deprecated.
|
protected static String |
USERNAME_PROPERTY
Deprecated.
|
Constructor and Description |
---|
FileUserPasswordCredentials()
Deprecated.
|
FileUserPasswordCredentials(String credentialsLocation)
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
protected static final String USERNAME_PROPERTY
protected static final String PASSWORD_PROPERTY
public FileUserPasswordCredentials()
public FileUserPasswordCredentials(@NotNull String credentialsLocation)
public String getUsername()
getUsername
in interface UserPasswordCredentials
public String getPassword()
getPassword
in interface UserPasswordCredentials
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.