Package org.apache.http.impl.auth
Class SPNegoSchemeFactory
- java.lang.Object
-
- org.apache.http.impl.auth.SPNegoSchemeFactory
-
- All Implemented Interfaces:
AuthSchemeFactory
,AuthSchemeProvider
@Contract(threading=IMMUTABLE) public class SPNegoSchemeFactory extends java.lang.Object implements AuthSchemeFactory, AuthSchemeProvider
AuthSchemeProvider
implementation that creates and initializesSPNegoScheme
instances.- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description SPNegoSchemeFactory()
SPNegoSchemeFactory(boolean stripPort)
SPNegoSchemeFactory(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.
-
-