Nortel Networks NN42020-123 manual A special note on .NET authentication headers

Models: NN42020-123

1 58
Download 58 pages 13.36 Kb
Page 28
Image 28
A special note on .NET authentication headers

Copyright © Nortel Networks Limited 2006

28

A special note on .NET authentication headers

The authentication headers for AXIS toolkit generated stubs are set on the client stub as described in the preceeding example. In that scenario, the client stub is cast down to a org.apache.axis.client.Stub object. In the case of a .NET client this must be done differently. The MCS OPI currently supports basic HTTP authentication and the authentication headers must be set to Base64 encoded authentication on the client side.

The sample code below shows how to set the authenication headers for a .NET client. The code must be added in the stub class so that it may hijack the request and add the headers to it.

NN42020-123 MCS 5100 3.5 Standard 4.0 4.0 January 2006

Page 28
Image 28
Nortel Networks NN42020-123 manual A special note on .NET authentication headers