Top Description Fields Constructors Methods
org.apache.http.impl.auth

public Class SPNegoSchemeFactory

extends Object
implements AuthSchemeFactory, AuthSchemeProvider
Class Inheritance
All Implemented Interfaces
org.apache.http.auth.AuthSchemeProvider, org.apache.http.auth.AuthSchemeFactory
Annotations
@Contract
threading:IMMUTABLE
@SuppressWarnings:deprecation
Imports
org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.auth.AuthScheme, .AuthSchemeFactory, .AuthSchemeProvider, org.apache.http.params.HttpParams, org.apache.http.protocol.HttpContext

Deprecated

as a consequence of AuthSchemeFactory being deprecated. See corresponding docs for further information.

AuthSchemeProvider implementation that creates and initializes SPNegoScheme instances.
Since
4.2

Field Summary

Modifier and TypeField and Description
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
SPNegoSchemeFactory(final boolean stripPort, final boolean useCanonicalHostname)

public
SPNegoSchemeFactory(final boolean stripPort)

public

Method Summary

Modifier and TypeMethod and Description
public AuthScheme
create(final HttpContext context)

Implements org.apache.http.auth.AuthSchemeProvider.create.

Creates an instance of AuthScheme.
public boolean
public boolean
public AuthScheme
newInstance(final HttpParams
HTTP parameters.
params
)

Implements org.apache.http.auth.AuthSchemeFactory.newInstance.

Deprecated as a consequence of HttpParams being deprecated.
Creates an instance of AuthScheme using given HTTP parameters.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

stripPortback to summary
private final boolean stripPort
useCanonicalHostnameback to summary
private final boolean useCanonicalHostname

Constructor Detail

SPNegoSchemeFactoryback to summary
public SPNegoSchemeFactory(final boolean stripPort, final boolean useCanonicalHostname)
Since
4.4
SPNegoSchemeFactoryback to summary
public SPNegoSchemeFactory(final boolean stripPort)
SPNegoSchemeFactoryback to summary
public SPNegoSchemeFactory()

Method Detail

createback to summary
public AuthScheme create(final HttpContext context)

Implements org.apache.http.auth.AuthSchemeProvider.create.

Doc from org.apache.http.auth.AuthSchemeProvider.create.

Creates an instance of AuthScheme.

Returns:AuthScheme

auth scheme.

Annotations
@Override
isStripPortback to summary
public boolean isStripPort()
isUseCanonicalHostnameback to summary
public boolean isUseCanonicalHostname()
newInstanceback to summary
public AuthScheme newInstance(final HttpParams params)

Implements org.apache.http.auth.AuthSchemeFactory.newInstance.

Doc from org.apache.http.auth.AuthSchemeFactory.newInstance.

Deprecated

as a consequence of HttpParams being deprecated. See corresponding docs for further information.

Creates an instance of AuthScheme using given HTTP parameters.

Parameters
params:HttpParams

HTTP parameters.

Returns:AuthScheme

auth scheme.

Annotations
@Override