Руководство Разработчика для Cisco Cisco Prime Optical 9.8

Скачать
Страница из 762
Cisco Prime Optical 9.8 GateWay/CORBA Programmer Reference Guide 
OL-29218-01
 
 
713
 
Prime Optical uses a 512-bit (64-byte) key size and returns the string representation of the RSA 
public key or public key pair, encoded in the Base64 encoding scheme. OSS clients should use 
Base64 decoders to decode the public key and get the byte[] of the public key from the 
decoded public key string. The byte[] corresponding to the public key represents the key in its 
primary encoded format (X.509 SubjectPublicKeyInfo). Using this byte[] and cryptographic 
libraries, the RSA public key can be created.  
One example of the security provider is Bouncy Castle Provider.  
Use the public key to encrypt the username and password. Before passing the encrypted 
username and password to Prime Optical for login, OSS clients should encode the encrypted 
username and password by using Base64 encoders to obtain the string equivalent of the 
encrypted data. 
  Use cryptographic libraries implementing RSA public key encryption supporting the “PKCS #1 v2.0 
EME-PKCS1-v1_5 (PKCS #1 v1.5 block type 2), PKCS1Padding” encoding scheme. Prime Optical does 
not provide these cryptographic libraries. 
 
6.7  Using Multiple Naming Servers 
Prime Optical can register with multiple naming servers. You must add the following 
parameters to the Prime Optical-server-installation-directory/cfg/corbagw.properties file: 
•  corbagw.namingservice.ServerList=ctmc4-u80,ctm7-u60 
•  corbagw.namingservice.RootIORLoc=/namingroot.ior 
Complete the following steps to allow Prime Optical to use multiple naming servers:  
Step 1 
In the Domain Explorer window, choose Administration > Control Panel
Step 2 
Click GateWay/CORBA Service to open the GateWay/CORBA Service pane. 
Step 3 
In the Global tab > GateWay/CORBA Configuration area, specify the following 
parameters: 
 
Name Service Server List—Lists all the hosts on which the naming service is 
running. The hosts should be reachable from the Prime Optical server host, and 
the HTTP server must be running on all naming service hosts. Enter ctmc4-u80, 
ctm7-u60
  In addition to these naming service hosts, Prime Optical registers itself with the local 
naming service. The local naming service port is 14005 and is bundled with Prime 
Optical. 
 
Name Service Root IOR—Defines the location and name of the file that contains 
the naming service root Interoperable Object Reference (IOR). The IOR file must 
be accessible through the following HTTP call: http://name-server-IP-
address:80/namingroot.ior
. Enter /namingroot.ior
Step 4 
Restart the GateWay/CORBA service.