Previous Topic: WSChallengeNext Topic: Login


WSAuthenticate

The WSAuthenticate method sends an NTLMSSP_AUTH message to the manager and receives the authentication status in response. This authentication status is then sent to the Web Service client as a response.

The WSAuthenticate method uses the following messages:

NTLMSSP_AUTH

Includes the response (password hashes) from the browser to the NTLMSSP_CHALLENGE message. This message contains host name, Windows domain name, and two responses–—LanManager and NT Response. The nonce passed by the NTLMSSP_CHALLENGE message is used to create these responses (password hashes).

Parameters

Char * sessionID

Specifies the session id obtained from the WSChallenge method.

Char * manager

Specifies the host name of the Client Automation manager to which the method must connect to.

enum CompRequiresAuthentication compReqAuthen

Specifies the Client Automation component for which you require authentication.

struct AuthenticationData * authenticationData,

Specifies the authentication data to be sent to domain controller.

Return Values

WSAuthenticateResponse

Refers to the structure that contains authentication status. This structure is sent to the Web Service client as a response.

Remarks

None