Configure the server for response encryption: encrypting the message parts
Configure the server for response encryption: encrypting the message parts
Important distinction between Version 5.x and Version 6 applications
Note: The information in this article supports version 5.x applications only that are used with WebSphere Application Server Version 6. The information does not apply to version 6 applications.
Prior to completing these steps,
read either of the following topics to become familiar with the WS Extensions tab and the WS Bindings tab in the Web services editor within an assembly tool:
Right-click the webservices.xml file, select Open with > Web services editor .
Click the Extensions tab, which is located at the bottom of the Web Services Editor within the assembly tool.
Expand Response sender service configuration details > Confidentiality .
Confidentiality refers to encryption while integrity refers to digital signing. Confidentiality reduces the risk of someone understanding the message flowing across the Internet. With confidentiality specifications, the response is encrypted before it is sent and decrypted when it is received at the correct target. For more information on encrypting, see XML encryption.
Select the parts of the response that you want to encrypt by clicking Add and selecting Bodytoken or Usernametoken. The following information describes the message parts:
Bodycontent
User data portion of the message.
Usernametoken
Basic authentication information, if selected.
A user name token does not appear in the response so you do not need to select this option for the response. If you select this option, make sure that you also select it for the client response receiver. If you do not select this option, make sure that you do not select it for the client response receiver.