to top
Android APIs
Added in API level 1
public interface

NTLMEngine

org.apache.http.impl.auth.NTLMEngine

Class Overview

Abstract NTLM authentication engine. The engine can be used to generate Type1 messages and Type3 messages in response to a Type2 challenge.

For details see this resource

Summary

Public Methods
abstract String generateType1Msg( String domain, String workstation)
Generates a Type1 message given the domain and workstation.
abstract String generateType3Msg( String username, String password, String domain, String workstation, String challenge)
Generates a Type3 message given the user credentials and the authentication challenge.

Public Methods

public abstract String generateType1Msg (String domain, String workstation)

Added in API level 1

Generates a Type1 message given the domain and workstation.

Parameters
domain Optional Windows domain name. Can be null.
workstation Optional Windows workstation name. Can be null.
Returns
  • Type1 message

public abstract String generateType3Msg (String username, String password, String domain, String workstation, String challenge)

Added in API level 1

Generates a Type3 message given the user credentials and the authentication challenge.

Parameters
username Windows user name
password Password
domain Windows domain name
workstation Windows workstation name
challenge Type2 challenge.
Returns
  • Type3 response.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.