com.atlassian.jira.rest.client.auth
Class BasicHttpAuthenticationHandler
java.lang.Object
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
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 |
BasicHttpAuthenticationHandler
public BasicHttpAuthenticationHandler(String username,
String password)
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.