Class NegotiateProxyAuthGenerator
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.NegotiateProxyAuthGenerator
- All Implemented Interfaces:
ProxyAuthGenerator
@SdkInternalApi
public class NegotiateProxyAuthGenerator
extends Object
implements ProxyAuthGenerator
Auth generator for Kerberos. This does not login/authentication to Kerberos. It expects the ticket cache to be present and
simply reads that to generate the token.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateAuthParams(URI proxyEndpoint) Generate the auth params for this request.scheme()The name of the auth scheme this generator supports.
-
Constructor Details
-
NegotiateProxyAuthGenerator
- Parameters:
config- The JAAS configuration to log in with, or null to use the default ticket-cache-only configuration.executor- Executor to run the blocking Kerberos work on. Must not be a Netty event loop; seegenerateAuthParams(URI). Its lifecycle is owned by the caller.
-
-
Method Details
-
scheme
Description copied from interface:ProxyAuthGeneratorThe name of the auth scheme this generator supports.- Specified by:
schemein interfaceProxyAuthGenerator
-
generateAuthParams
Description copied from interface:ProxyAuthGeneratorGenerate 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.
- Specified by:
generateAuthParamsin interfaceProxyAuthGenerator
-