@Contract(threading=STATELESS) @Experimental public class SPNegoSchemeFactory extends Object implements AuthSchemeFactory
AuthSchemeFactory
implementation that creates and initializes
SPNegoScheme
instances.
Please note this class is considered experimental and may be discontinued or removed in the future.
Modifier and Type | Field and Description |
---|---|
static SPNegoSchemeFactory |
DEFAULT
Singleton instance for the default configuration.
|
Constructor and Description |
---|
SPNegoSchemeFactory(KerberosConfig config,
DnsResolver dnsResolver) |
Modifier and Type | Method and Description |
---|---|
AuthScheme |
create(HttpContext context)
Creates an instance of
AuthScheme . |
public static final SPNegoSchemeFactory DEFAULT
public SPNegoSchemeFactory(KerberosConfig config, DnsResolver dnsResolver)
public AuthScheme create(HttpContext context)
AuthSchemeFactory
AuthScheme
.create
in interface AuthSchemeFactory