This document describes the steps involved in migrating from Borland Security Service 5.1 manually. Users can also opt to use the configMigrator executable to assist in the migration exercises. The configMigrator will assist in the JAAS config file and property file migration.
There are a very few source code incompatibilities; these will not affect BES users. However, applications that use the BSS API at the CORBA level may be affected. See the source code incompatibility section for details.
This document contains the following sections. Each section details the steps involved in migrating a particular component.
| If the LoginModule is... | then note down... |
|---|---|
com.borland.security.provider.authn.ClientSideDataCollection |
GSSUP#realm |
com.borland.security.provider.authn.CertLoginModule |
Certificate#ALL |
| not one of the above and the "realm" name has a corresponding realm entry in the JAAS config file | the realm name as is. |
vbroker.security.authentication.config from your property file.vbroker.security.login. Follow instructions corresponding to its value.
true or false: Add a property called vbroker.security.login.realms with the value being a comma separated list of all the realm names collected in JAAS config file changes step above.vbroker.security.vault with the name of the vault file.vbroker.security.assertions.trust.<*>. For each entry, replace the principal name with a role in an authorization domain defined. If an appropriate role does not exist, then add a role to an authorization domain (update the corresponding role map file).vbroker.security.domain.<domain_name>.runas.<rolename>. For each such entry, replace the value (should be a user@realm value), with an alias. Note the value and the corresponding alias that you have provided. The alias can be any string that helps you identify this identity. If the value of the property is use-caller-identity, then ignore it. There is no change needed for the property.Check the vbroker.security.login property. If that points to a vault file, then you must regenerate your vault.
vaultgen from the directory where you will run your process. This is needed to ensure that all relative paths in the config files and the vault
are accurate for the runtime. Run vaultgen as follows:
vaultgen -config [path to config] -vault [path to vault]
> login [realmname]
> runas [alias] [realm]
where realm is the realm part of user@realm that was the original value of the realm.
For the AppServer, the server runs from the directory:
<install_root>/var/servers/<servername>
and the partition from the directory:
<install_root>/var/servers/<servername>/partitions/<partitionname>
So, you should run vaultgen for these processes from the appropriate directory.
The files to consider for the Server for migration are:
The files to consider for the Partition are:
management_vault, so the vault needs to be migrated only once.
The following is the only source code incompatibility in the new Security Service.
IdentityWallet and CertificateWallet had a set of accessors that provided access to information that was used to construct these objects. Since this information is already available to clients as they provide the information during construction, these methods are superfluous and were removed.