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

public Class NegotiateSchemeFactory

extends Object
implements AuthSchemeFactory
Class Inheritance
All Implemented Interfaces
org.apache.http.auth.AuthSchemeFactory
Annotations
@Deprecated
Imports
org.apache.http.auth.AuthScheme, .AuthSchemeFactory, org.apache.http.params.HttpParams

Deprecated

(4.2) use SPNegoSchemeFactory or KerberosSchemeFactory.

SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme factory.
Since
4.1

Field Summary

Modifier and TypeField and Description
private final SpnegoTokenGenerator
spengoGenerator

Deprecated as a consequence of SpnegoTokenGenerator being deprecated.
private final boolean

Constructor Summary

AccessConstructor and Description
public
NegotiateSchemeFactory(final SpnegoTokenGenerator spengoGenerator, final boolean stripPort)

Deprecated as a consequence of SpnegoTokenGenerator being deprecated.
public
NegotiateSchemeFactory(final SpnegoTokenGenerator spengoGenerator)

Deprecated as a consequence of SpnegoTokenGenerator being deprecated.
public

Method Summary

Modifier and TypeMethod and Description
public SpnegoTokenGenerator
getSpengoGenerator()

Deprecated as a consequence of SpnegoTokenGenerator being deprecated.
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

spengoGeneratorback to summary
private final SpnegoTokenGenerator spengoGenerator

Deprecated

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

stripPortback to summary
private final boolean stripPort

Constructor Detail

NegotiateSchemeFactoryback to summary
public NegotiateSchemeFactory(final SpnegoTokenGenerator spengoGenerator, final boolean stripPort)

Deprecated

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

NegotiateSchemeFactoryback to summary
public NegotiateSchemeFactory(final SpnegoTokenGenerator spengoGenerator)

Deprecated

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

NegotiateSchemeFactoryback to summary
public NegotiateSchemeFactory()

Method Detail

getSpengoGeneratorback to summary
public SpnegoTokenGenerator getSpengoGenerator()

Deprecated

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

isStripPortback to summary
public boolean isStripPort()
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