com.atlassian.jira.rest.client.auth
Class BasicHttpAuthenticationHandler

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

public class BasicHttpAuthenticationHandler
extends Object
implements 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 Summary
BasicHttpAuthenticationHandler(String username, String password)
           
 
Method Summary
 void configure(com.sun.jersey.client.apache.config.ApacheHttpClientConfig config)
           
 void configure(com.sun.jersey.api.client.filter.Filterable filterable, com.sun.jersey.api.client.Client client)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHttpAuthenticationHandler

public BasicHttpAuthenticationHandler(String username,
                                      String password)
Method Detail

configure

public void configure(com.sun.jersey.client.apache.config.ApacheHttpClientConfig config)
Specified by:
configure in interface AuthenticationHandler

configure

public void configure(com.sun.jersey.api.client.filter.Filterable filterable,
                      com.sun.jersey.api.client.Client client)
Specified by:
configure in interface AuthenticationHandler


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.