Class BasicHttpAuthenticationHandler

java.lang.Object
com.atlassian.jira.rest.client.auth.BasicHttpAuthenticationHandler
All Implemented Interfaces:
com.atlassian.jira.rest.client.api.AuthenticationHandler

public class BasicHttpAuthenticationHandler extends Object implements com.atlassian.jira.rest.client.api.AuthenticationHandler
Handler for HTTP basic authentication. Do NOT use it in with unencrypted HTTP protocol over public networks, as credentials are passed effectively in free text.
Since:
v0.1
  • Constructor Details

    • BasicHttpAuthenticationHandler

      public BasicHttpAuthenticationHandler(String username, String password)
  • 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