Configure the client for response decryption: Decrypting the message partsPrior to completing these steps, read either of the following topics to become familiar with the Security Extensions tab and the Port Binding tab in the Web Services Client Editor within the Assembly Toolkit...
- Configuring the client security bindings using the Assembly Toolkit
- Configuring the security bindings on a server acting as a client using the administrative console
These two tabs are used to configure the Web services security extensions and the Web services security bindings, respectively.
Complete the following steps to specify which response message parts to decrypt when configuring the client for response decryption. The server response encryption and client response decryption configurations must match.
- Launch the Assembly Toolkit.
- Open the J2EE perspective by clicking Window > Open Perspective > Other > J2EE.
- Select the Web services enabled EJB or Web module.
- In the Project Navigator window, locate the META-INF directory for an EJB module or the WEB-INF directory for a Web module.
- Right-click the webservicesclient.xml file, click here Open With > Web Services Client Editor.
- Click the Security Extensions tab, which is located at the bottom of the Web services client editor within the Assembly Toolkit.
- Expand the Response Receiver Configuration > Required Confidentiality section.
- Select the parts of the message that decrypt by clicking Add and selecting either Bodycontent or Usernametoken.The following information describes these message parts...
Bodycontent The user data portion of the message.
Usernametoken The basic authentication information, if selected.
The information selected in this step is encrypted by the server in the response sender.
Note that A username token is typically not sent in the response. Thus, you usually do not need to select username token.
After you specify which message parts to decrypt, specify which method to use when decrypting the response message. See Configuring the client for response decryption: Choosing a decryption method for more information.
See AlsoResponse receiver
Configuring the client for response decryption: Choosing a decryption method
Configuring the client security bindings using the Assembly Toolkit
Configuring the security bindings on a server acting as a client using the administrative console
Configuring key locators using the Assembly Toolkit
Configuring key locators using the administrative console