.NET authentication headers 49• public String[] getAllChildrenDomainNames(StringrootDomain) throws ProvisionException;Use this method to get all the child domain names for a given rootdomain in the system. It returns a String[] array of all child domainnames.• public int getNumberOfDomains() throws ProvisionEx-ception;Use this method to get the number of domains in the system. It returnsan integer..NET authentication headersThe authentication headers for Axis toolkit-generated stubs are configuredin the client stub, as described in the preceding example. In that scenario,the client stub is cast down to an org.apache.axis.client.Stub object. For a.NET client, this must be done differently. The MCS OPI currently supportsHTTP and HTTPS authentication and the authentication headers must beconfigured to Base64-encoded authentication on the client side.Figure 10 "Authentication header sample" (page 49) shows how to configurethe authentication headers for a .NET client. The code must be added in thestub class so that it can hijack the request and add the headers to it.Figure 10Authentication header sampleNortel Multimedia Communication Server 5100Application Programming Interfaces ReferenceNN42020-146 01.07 StandardRelease 4.0 19 October 2007Copyright © 2007, Nortel Networks.