Package com.atlassian.bamboo.specs.util
Class FileAuthenticationProvider
java.lang.Object
com.atlassian.bamboo.specs.util.FileAuthenticationProvider
- All Implemented Interfaces:
AuthenticationProvider
@Deprecated
public class FileAuthenticationProvider
extends Object
implements AuthenticationProvider
Deprecated.
prefers token credentials, fallback to user-pass credentials for sake of backwards compat.
introduced as deprecated, to highlight that we should move towards token based auth, to be removed along with
FileUserPasswordCredentials
and UserPasswordCredentials
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.FileAuthenticationProvider
(String credentialsLocation) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
authenticate
(org.apache.http.client.methods.HttpRequestBase request) Deprecated.
-
Constructor Details
-
FileAuthenticationProvider
public FileAuthenticationProvider()Deprecated. -
FileAuthenticationProvider
Deprecated.
-
-
Method Details
-
authenticate
public void authenticate(org.apache.http.client.methods.HttpRequestBase request) throws org.apache.http.auth.AuthenticationException Deprecated.- Specified by:
authenticate
in interfaceAuthenticationProvider
- Throws:
org.apache.http.auth.AuthenticationException
-
FileTokenCredentials