Nortel Networks AS 5300 manual Special note for .NET authentication headers

Page 31

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

Image 31
Contents NN42040-110 Legal Notice Contents Starting the Bulk Provisioning Tool Other changes New in this releaseNew in this release Related documents IntroductionNavigation AudienceIntroduction Open Provisioning Interface fundamentals Application Programming Interface fundamentalsBulk Provisioning Tool fundamentals Why use the Bulk Provisioning ToolFollowing table lists the requirements to run the BPT Bulk Provisioning Tool requirementsApplication Programming Interface fundamentals Install and launch the BPT Using the Bulk Provisioning ToolBPT main menu BPT main menu Quit Files BPT provisioning methodsBPT files and scripts NavigationScripts BPT conventions and examplesMethod and file syntax conventions GetSysRoles optional into file name Optional syntaxBrackets Angle bracketsBar Square bracketsFully qualified user name Comma separated stringsSuccess indication on remove methods Create and manage provisioning roles using the BPT Unknown error messagesDefine the new provisioning role View the new provisioning role AddRole using file D\prov\addexample.txtGetRole using AddExample Add the new provisioning roleDelete the new provisioning role Help addRole BPT Help optionBPT mapping to the Provisioning Client BPT limitationsResource use Batch processingProvisioning data visibility Using the Bulk Provisioning Tool Security, authentication, and authorization Using the Open Provisioning InterfaceSecurity Http Basic Authentication Onboard Authentication AuthenticationWS-Security UsernameToken Special note for .NET authentication headers Domain-level authorization Provisioning-level authorization AuthorizationWsdl Third-party client developmentGet the Wsdl Generate stubsAccess stubs from the third-party application Implement interface accessing stubsStarting the Bulk Provisioning Tool Starting the Bulk Provisioning ToolDownloading the Bulk Provisioning Tool to a workstation Procedure StepsLaunching the BPT on a workstation Launching the BPT on a workstation Starting the Bulk Provisioning Tool Prerequisites for creating OPI clients Creating Open Provisioning Interface clientsCreating OPI clients Task flow for creating OPI clients \axis-14\webapps\axis\WEB-INF\lib Retrieving the error codesDownloading the Axis toolkit Configuring the class pathLoadname/wsdl/opi Downloading the Wsdl fileCompiling the client stubs \opiclientWriting a client to perform some specific OPI operations \opi\serviceExample Writing a client Writing a client to perform some specific OPI operations Compiling the client class Procedure Steps Accessing the OPI Java docsAdminAuthentication subfolder in the OPI Java Docs folder Writing a client to perform some specific OPI operations Accessing the OPI Java docs Tool prompts Trust this certificate? no Importing a CA Certificate into the BPTKeytool -list -v -keystore opitruststore Importing a CA Certificate into the BPT Page Nortel AS
Related manuals
Manual 92 pages 3.24 Kb