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
AuthSchemeProvider
implementation that creates and initializesKerberosScheme
instances.- 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 AuthScheme
create(HttpContext context)
Creates an instance ofAuthScheme
.boolean
isStripPort()
boolean
isUseCanonicalHostname()
AuthScheme
newInstance(HttpParams params)
Creates an instance ofAuthScheme
using given HTTP parameters.
-
-
-
Method Detail
-
isStripPort
public boolean isStripPort()
-
isUseCanonicalHostname
public boolean isUseCanonicalHostname()
-
newInstance
public AuthScheme newInstance(HttpParams params)
Description copied from interface:AuthSchemeFactory
Creates an instance ofAuthScheme
using given HTTP parameters.- Specified by:
newInstance
in interfaceAuthSchemeFactory
- Parameters:
params
- HTTP parameters.- Returns:
- auth scheme.
-
create
public AuthScheme create(HttpContext context)
Description copied from interface:AuthSchemeProvider
Creates an instance ofAuthScheme
.- Specified by:
create
in interfaceAuthSchemeProvider
- Returns:
- auth scheme.
-
-