@Contract(threading=IMMUTABLE) public class KerberosSchemeFactory extends Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider实现创建和初始化KerberosScheme实例。
| Constructor and Description |
|---|
KerberosSchemeFactory() |
KerberosSchemeFactory(boolean stripPort) |
KerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname) |
| Modifier and Type | Method and Description |
|---|---|
AuthScheme |
create(HttpContext context)
创建一个 AuthScheme的实例。
|
boolean |
isStripPort() |
boolean |
isUseCanonicalHostname() |
AuthScheme |
newInstance(HttpParams params)
使用给定的HTTP参数创建一个 AuthScheme的实例。
|
public KerberosSchemeFactory(boolean stripPort,
boolean useCanonicalHostname)
public KerberosSchemeFactory(boolean stripPort)
public KerberosSchemeFactory()
public boolean isStripPort()
public boolean isUseCanonicalHostname()
public AuthScheme newInstance(HttpParams params)
AuthSchemeFactory复制
AuthScheme的实例。
newInstance在界面
AuthSchemeFactory
params - HTTP参数。
public AuthScheme create(HttpContext context)
AuthSchemeProvider复制
AuthScheme的实例。
create在界面
AuthSchemeProvider
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.