Nortel Networks AS 5300 Network Router User Manual


 
Security, authentication, and authorization 31
Figure 8
Sample WS-Security header/SOAP message
A special note for .NET authentication headers
The authentication headers for AXIS toolkit-generated stubs are set on the
client stub as described in the preceding 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 AS 5300 OPI currently
supports HTTP and HTTPS authentication and the authentication headers
must be set to Base64 encoded authentication on the client side.
The sample code in the following figure shows how to set the
authentication 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.
Nortel AS 5300
Nortel Application Server 5300 Application Programming Interfaces Reference
NN42040-110 01.01 Standard
11 June 2008
Copyright © 2008 Nortel Networks
.