Class JiraOAuthAuthenticationHandler

java.lang.Object
org.apache.camel.component.jira.oauth.JiraOAuthAuthenticationHandler
All Implemented Interfaces:
com.atlassian.jira.rest.client.api.AuthenticationHandler

public class JiraOAuthAuthenticationHandler extends Object implements com.atlassian.jira.rest.client.api.AuthenticationHandler
This authentication handler uses the 3-legged OAuth approach described in https://developer.atlassian.com/server/jira/platform/oauth/ The user must manually retrieve a verification code, access token and consumer key to use this authenticator.
  • Constructor Details

    • JiraOAuthAuthenticationHandler

      public JiraOAuthAuthenticationHandler(String consumerKey, String verificationCode, String privateKey, String accessToken, String jiraUrl)
  • Method Details

    • configure

      public void configure(com.atlassian.httpclient.api.Request.Builder builder)
      Specified by:
      configure in interface com.atlassian.jira.rest.client.api.AuthenticationHandler