public interface HttpAuthenticator
HttpClient
instance. Provides a unified mechanism for applying
authentication that is agnostic of the actual authentication mechanism being
used.void apply(org.apache.http.impl.client.AbstractHttpClient client, org.apache.http.protocol.HttpContext httpContext, URI target)
The target
parameter indicates the URI to which the request is
being made and so may be used by an authenticator to determine whether it
actually needs to apply any authentication or to scope authentication
appropriately.
client
- HTTP ClienthttpContext
- HTTP Contexttarget
- Target URI to which code wants to authenticateLicenced under the Apache License, Version 2.0