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, useFileTokenCredentials
Provides 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.String
PASSWORD_PROPERTY
Deprecated.protected static java.lang.String
USERNAME_PROPERTY
Deprecated.
-
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.String
getPassword()
Deprecated.java.lang.String
getUsername()
Deprecated.java.lang.String
toString()
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:
getUsername
in interfaceUserPasswordCredentials
-
getPassword
public java.lang.String getPassword()
Deprecated.- Specified by:
getPassword
in interfaceUserPasswordCredentials
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-