com.atlassian.jira.rest.client.api
Interface AuthenticationHandler
public interface AuthenticationHandler
Interface for classes which authenticate the requests. The configure method is invoked during each request.
For instance, the implementation of this handling which would configure the request to do a basic http authentication would
have a following implementation.
public void configure(final Request request) {
request.setHeader("Authorization", "Basic " + base64EncodedCredentials());
}
- Since:
- v0.1
Method Summary |
void |
configure(com.atlassian.httpclient.api.Request request)
|
configure
void configure(com.atlassian.httpclient.api.Request request)
Copyright © 2015 Atlassian. All Rights Reserved.