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 java.lang.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 java.lang.StringPASSWORD_PROPERTYDeprecated.protected static java.lang.StringUSERNAME_PROPERTYDeprecated.
-
Constructor Summary
Constructors Constructor Description FileUserPasswordCredentials()Deprecated.FileUserPasswordCredentials(@NotNull java.lang.String credentialsLocation)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetPassword()Deprecated.java.lang.StringgetUsername()Deprecated.java.lang.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 java.lang.String USERNAME_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
PASSWORD_PROPERTY
protected static final java.lang.String PASSWORD_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
Deprecated.- Specified by:
getUsernamein interfaceUserPasswordCredentials
-
getPassword
public java.lang.String getPassword()
Deprecated.- Specified by:
getPasswordin interfaceUserPasswordCredentials
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-