Class FileAuthenticationProvider

java.lang.Object
com.atlassian.bamboo.specs.util.FileAuthenticationProvider
All Implemented Interfaces:
AuthenticationProvider

@Deprecated public class FileAuthenticationProvider extends Object implements AuthenticationProvider
Deprecated.
since 7.0.4, use FileTokenCredentials
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 Details

    • FileAuthenticationProvider

      public FileAuthenticationProvider()
      Deprecated.
    • FileAuthenticationProvider

      public FileAuthenticationProvider(@Nonnull String credentialsLocation)
      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 interface AuthenticationProvider
      Throws:
      org.apache.http.auth.AuthenticationException