List of usage examples for org.apache.http.impl.client HttpClientBuilder setTargetAuthenticationStrategy
public final HttpClientBuilder setTargetAuthenticationStrategy( final AuthenticationStrategy targetAuthStrategy)
From source file:com.joyent.http.signature.apache.httpclient.HttpSignatureConfigurator.java
/** * Configures a {@link HttpClientBuilder} to use HTTP Signature authentication. * * @param httpClientBuilder build to configure *///from w ww . j a v a 2s . co m public void configure(final HttpClientBuilder httpClientBuilder) { httpClientBuilder.setTargetAuthenticationStrategy(authenticationStrategy); }