Class BitbucketUsernamePasswordAuthenticator
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
-
- com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketUsernamePasswordAuthenticator
-
public class BitbucketUsernamePasswordAuthenticator extends BitbucketAuthenticator
Authenticator that uses a username and password (probably the default)
-
-
Field Summary
-
Fields inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
BITBUCKET_INSTANCE_TYPE, BITBUCKET_INSTANCE_TYPE_CLOUD, BITBUCKET_INSTANCE_TYPE_SERVER, SCHEME, SERVER_URL
-
-
Constructor Summary
Constructors Constructor Description BitbucketUsernamePasswordAuthenticator(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureContext(org.apache.http.client.protocol.HttpClientContext context, org.apache.http.HttpHost host)
Sets up HTTP Basic Auth with the provided username/password-
Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
authenticationContext, configureBuilder, configureRequest, getId, getUserUri
-
-
-
-
Method Detail
-
configureContext
public void configureContext(org.apache.http.client.protocol.HttpClientContext context, org.apache.http.HttpHost host)
Sets up HTTP Basic Auth with the provided username/password- Overrides:
configureContext
in classBitbucketAuthenticator
- Parameters:
context
- The connection contexthost
- host being connected to
-
-