Package com.atlassian.bamboo.specs.util
Class FileUserPasswordCredentials
- java.lang.Object
-
- com.atlassian.bamboo.specs.util.FileUserPasswordCredentials
-
- All Implemented Interfaces:
AuthenticationProvider,UserPasswordCredentials
@Deprecated public class FileUserPasswordCredentials extends Object implements UserPasswordCredentials
Deprecated.since 7.1.0, useFileTokenCredentialsProvides Bamboo credentials from text file.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
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringPASSWORD_PROPERTYDeprecated.protected static StringUSERNAME_PROPERTYDeprecated.
-
Constructor Summary
Constructors Constructor Description FileUserPasswordCredentials()Deprecated.FileUserPasswordCredentials(@NotNull String credentialsLocation)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetPassword()Deprecated.StringgetUsername()Deprecated.StringtoString()Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
authenticate
-
-
-
-
Field Detail
-
USERNAME_PROPERTY
protected static final String USERNAME_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
PASSWORD_PROPERTY
protected static final String PASSWORD_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileUserPasswordCredentials
public FileUserPasswordCredentials()
Deprecated.
-
FileUserPasswordCredentials
public FileUserPasswordCredentials(@NotNull @NotNull String credentialsLocation)Deprecated.
-
-
Method Detail
-
getUsername
public String getUsername()
Deprecated.- Specified by:
getUsernamein interfaceUserPasswordCredentials
-
getPassword
public String getPassword()
Deprecated.- Specified by:
getPasswordin interfaceUserPasswordCredentials
-
-