Class BitbucketUsernamePasswordAuthenticatorSource

java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
com.cloudbees.jenkins.plugins.bitbucket.credentials.BitbucketUsernamePasswordAuthenticatorSource
All Implemented Interfaces:
ExtensionPoint

@Extension public class BitbucketUsernamePasswordAuthenticatorSource extends jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
Source for username/password authenticators.
  • Constructor Details

    • BitbucketUsernamePasswordAuthenticatorSource

      public BitbucketUsernamePasswordAuthenticatorSource()
      Constructor.
  • Method Details

    • convert

      @NonNull public BitbucketUsernamePasswordAuthenticator convert(@NonNull com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials standardUsernamePasswordCredentials)
      Converts username/password credentials to an authenticator.
      Specified by:
      convert in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>
      Parameters:
      standardUsernamePasswordCredentials - the username/password combo
      Returns:
      an authenticator that will use them.
    • matcher

      public com.cloudbees.plugins.credentials.CredentialsMatcher matcher()
      Overrides:
      matcher in class jenkins.authentication.tokens.api.AuthenticationTokenSource<BitbucketUsernamePasswordAuthenticator,com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials>