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.
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
-
Constructor Summary
ConstructorDescriptionDeprecated.FileUserPasswordCredentials
(@NotNull String credentialsLocation) Deprecated. -
Method Summary
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 Details
-
USERNAME_PROPERTY
Deprecated.- See Also:
-
PASSWORD_PROPERTY
Deprecated.- See Also:
-
-
Constructor Details
-
FileUserPasswordCredentials
public FileUserPasswordCredentials()Deprecated. -
FileUserPasswordCredentials
Deprecated.
-
-
Method Details
-
getUsername
Deprecated.- Specified by:
getUsername
in interfaceUserPasswordCredentials
-
getPassword
Deprecated.- Specified by:
getPassword
in interfaceUserPasswordCredentials
-
toString
Deprecated.
-
FileTokenCredentials