org.apache.http.impl.auth
Class NTLMSchemeFactory

java.lang.Object
  extended by org.apache.http.impl.auth.NTLMSchemeFactory
All Implemented Interfaces:
AuthSchemeFactory, AuthSchemeProvider

@Contract(threading=IMMUTABLE)
public class NTLMSchemeFactory
extends Object
implements AuthSchemeFactory, AuthSchemeProvider

AuthSchemeProvider implementation that creates and initializes NTLMScheme instances configured to use the default NTLMEngine implementation.

Since:
4.1

Constructor Summary
NTLMSchemeFactory()
           
 
Method Summary
 AuthScheme create(HttpContext context)
          Creates an instance of AuthScheme.
 AuthScheme newInstance(HttpParams params)
          Creates an instance of AuthScheme using given HTTP parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NTLMSchemeFactory

public NTLMSchemeFactory()
Method Detail

newInstance

public AuthScheme newInstance(HttpParams params)
Description copied from interface: AuthSchemeFactory
Creates an instance of AuthScheme using given HTTP parameters.

Specified by:
newInstance in interface AuthSchemeFactory
Parameters:
params - HTTP parameters.
Returns:
auth scheme.

create

public AuthScheme create(HttpContext context)
Description copied from interface: AuthSchemeProvider
Creates an instance of AuthScheme.

Specified by:
create in interface AuthSchemeProvider
Returns:
auth scheme.


Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.