Package org.apache.http.impl.auth
Class KerberosSchemeFactory
- java.lang.Object
-
- org.apache.http.impl.auth.KerberosSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory,AuthSchemeProvider
@Contract(threading=IMMUTABLE) public class KerberosSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProviderimplementation that creates and initializesKerberosSchemeinstances.- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description KerberosSchemeFactory()KerberosSchemeFactory(boolean stripPort)KerberosSchemeFactory(boolean stripPort, boolean useCanonicalHostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthSchemecreate(HttpContext context)Creates an instance ofAuthScheme.booleanisStripPort()booleanisUseCanonicalHostname()AuthSchemenewInstance(HttpParams params)Creates an instance ofAuthSchemeusing given HTTP parameters.
-
-
-
Method Detail
-
isStripPort
public boolean isStripPort()
-
isUseCanonicalHostname
public boolean isUseCanonicalHostname()
-
newInstance
public AuthScheme newInstance(HttpParams params)
Description copied from interface:AuthSchemeFactoryCreates an instance ofAuthSchemeusing given HTTP parameters.- Specified by:
newInstancein interfaceAuthSchemeFactory- Parameters:
params- HTTP parameters.- Returns:
- auth scheme.
-
create
public AuthScheme create(HttpContext context)
Description copied from interface:AuthSchemeProviderCreates an instance ofAuthScheme.- Specified by:
createin interfaceAuthSchemeProvider- Returns:
- auth scheme.
-
-