Create the client security binding and extension files using an assembly tool

You can create the files required for a WSRP security profile in the assembly tool by configuring the security options for Web applications that define a Web service client.

The portal provides several variants of a dummy Web application that you can import into the assembly tool to perform the configuration. To get the available dummy Web applications, proceed as follows:

  1. Run the following command, and pass in the path of the directory where you want to copy the sample files as the value for the Destination parameter:

    • UNIX™: ./ConfigEngine.sh copy-samples -DWasPassword=foo –DCategoriesList=wp.wsrp.consumer –DDestination=directory in the WP_PROFILE/ConfigEngine

    • i: ConfigEngine copy-samples -DWasPassword=foo –DCategoriesList=wp.wsrp.consumer –DDestination=directory in the WP_PROFILE/ConfigEngine

  2. Choose the appropriate WAR file from the following list, and import it as a Web application project to the assembly tool:

    • DummyWebAppEmpty.war: This file contains no security configuration. Use it to create a completely new security configuration.

    • DummyWebAppLTPA.war: LTPA token forwarding configuration as in the default security profile.

    • DummyWebAppUsername.war: Username token forwarding configuration as in the default security profile.

    • DummyWebAppSignedUsername.war: Signed Username token forwarding configuration as in the default security profile.

      For details about the last three files listed above refer to the section about Configuring WS-Security for communication with a particular Producer.

To configure Web services security, launch the wizard for the Web implementation descriptor web.xml, and make the appropriate settings in the WS-Extension and WS-Binding sections. For more information about how to configure Web services security refer to the WAS information center, especially under Related information below.

When you save the configuration, the settings are written to the files ibm-webservicesclient-bnd.xmi and ibm-webservicesclient-ext.xmi in the same project as required. If you did not use the dummy Web application for configuration, verify the files contain the settings for only one port Qname binding. Copy the two files to a file system folder with the name of security profile. For some OSs, it can be necessary to avoid special characters or blanks in the folder name.


Parent

Create and deploy custom WS-Security profiles


Next topic

Change the the WSRP WS-Security profiles

Configure the server security bindings using an assembly tool

Configure the client security bindings using an assembly tool

 


+

Search Tips   |   Advanced Search