This section includes the following topics:
Use the Import Resources page to import a full project JAR file or a resource JAR file that has been previously exported from another ALSB domain. You can choose to import only a subset of the exported data. If the resource already exists in the importing system, it will be updated. Otherwise, it will be created. Resources are only scheduled for deletion when the JAR being imported is a full project JAR and there are resources located in the same project in the importing system that are not present in the imported JAR file. It will not delete resources which are located in other projects.
You can import resources at the resource level even though they were exported at the project level. For example, even if system resources were exported in a full project JAR file, you can deselect them when importing.
You cannot export users, groups, roles, or certificates when you export a configuration. Therefore, you must create these objects again when you import an exported configuration.
Note: | Include Dependencies cannot be selected if you are importing a full project JAR file or a pre-version 2.6 configuration file. |
Note: | Customizing any references within an existing resource cannot be preserved. See Creating Customization Files. |
For more information, see AquaLogic Service Bus Security Guide.
The resource summary information is shown in Table 26-1.
The following resource file details, displayed for each object, are shown in Table 26-2.
|
|||||
If applicable, continue in Specifying the Importing Security Settings. Or, continue in Reviewing the Import Summary.
If the JAR file contains resources with user name and password data that were encrypted when it was exported, the Import Resources - Security Settings page is displayed.
If you do not know the password that was used to encrypt the resource data, click the Prev button and clear the check box that is next to the resource. You can import all other non-encrypted resources without knowing the password.
The Processing Configuration Data pop-up window is displayed. You should wait until this window closes before you do anything else on the console. The window closes automatically when the system finishes importing the objects. The Import Resources page is displayed, which includes a message that you have successfully deployed the data.
Continue in Reviewing the Import Summary.
Note: | In earlier ALSB versions, service key providers were called proxy service providers. |
If the JAR file was created by ALSB 3.0 or later and contains service accounts or service key providers, you can import these resources along with the user names, passwords, local-user to remote-user mappings, and alias to key-pair bindings that they contain. For each service key provider, ALSB imports the alias to key-pair binding into the PKI credential mapping provider. If this data was encrypted during export, you must supply the password that was used to encrypt the data. If you do not know the password, you can import all other non-encrypted resources.
If you import a service account or service key provider and a corresponding resource of the same name already exists in your domain, the imported resource will overwrite the one already in your domain, even if the one already in your domain has been modified during the current session, unless you specify to preserve security settings during import. See step 5 in Selecting Projects and Resources to Import.
The import summary information is shown in Table 26-3.
You can import another JAR file, or you can click View Changes under Change Center to view the import details. See Viewing Configuration Changes.
Use the Export Resources page to Export Projects or Export Resources. If you choose to export a full project, one or more projects can be selected for export. You can still expand the projects to see folders and resources but selection is only at the project level. Also, Include Dependencies cannot be selected.
You can export projects and resources whether you are working within a session or outside of a session. If you export within a session, the resources are session resources and the configuration may be incomplete or have conflicts. If you export outside of a session, the resources are activated core resources.
ALSB cannot export the users, groups, or roles that you create in the Security Configuration module of the ALSB Console. Neither can it export credential maps or other security-provider data that you create in the WebLogic Server Administration Console. Instead, use the WebLogic Server Administration Console to export this data. See Migrating Security Data in Securing WebLogic Server.
The Export Resources page displays the list of objects in your configuration. The name, type, last modified time, and references for each object are displayed.
For services, the last modified timestamp reflects the modifications made to the service definition, as well as to the service transport or pipeline configuration. It does not, however, reflect the changes made to the alerts defined for that service.
Note: | Exporting projects might cause resource deletion when you import the full project JAR file. For more information, see Importing Resources. |
If applicable, continue in Specifying the Exporting Security Settings.
If your export includes a service account or a service key provider, the Export Resources - Security Settings page is displayed.
For each service account, ALSB exports the user name and password or the local-user to remote-user map (depending on which data was stored in the service account). For each service key provider, ALSB exports the alias to key-pair binding from the PKI credential mapping provider; it does not export private keys, certificates, or other data from the key stores. Key store data must be exported using tools that the key store vendor provides.
If you want ALSB to encrypt the user name and password data that is in the service account, service key provider, UDDI Registry, JNDI Provider, or SMTP provider resources before exporting it the to JAR file, do the following:
When you or someone else attempts to import this JAR, ALSB will not import the resources with encrypted user name and password data unless you specify this password. You can import all of the other non-encrypted resources in the JAR without specifying the password.