Interface ProxyAuthGenerator
- All Known Implementing Classes:
BasicProxyAuthGenerator,NegotiateProxyAuthGenerator
Generates the auth params for an
Authorization HTTP header.-
Method Summary
Modifier and TypeMethodDescriptiongenerateAuthParams(URI proxyEndpoint) Generate the auth params for this request.scheme()The name of the auth scheme this generator supports.
-
Method Details
-
scheme
ProxyAuthScheme scheme()The name of the auth scheme this generator supports. -
generateAuthParams
Generate the auth params for this request.This is asynchronous because generating the params may block - Kerberos, for example, may need to read the ticket cache from disk and contact the KDC. Implementations that block MUST complete the returned future from a thread other than the caller's; the caller is a Netty event loop thread, and blocking it would stall every other channel assigned to that loop.
-