[Version 5.0.2 and later]Configuring the client for response decryption: Decrypting the message parts

Before you begin

Prior 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:

These two tabs are used to configure the Web services security extensions and the Web services security bindings, respectively.

Why and when to perform this task

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.

Steps for this task

  1. Launch the Assembly Toolkit.
  2. Open the J2EE perspective by clicking Window > Open Perspective > Other > J2EE.
  3. Select the Web services enabled EJB or Web module.
  4. In the Project Navigator window, locate the META-INF directory for an EJB module or the WEB-INF directory for a Web module.
  5. Right-click the webservicesclient.xml file, click here Open With > Web Services Client Editor.
  6. Click the Security Extensions tab, which is located at the bottom of the Web services client editor within the Assembly Toolkit.
  7. Expand the Response Receiver Configuration > Required Confidentiality section.
  8. Select the parts of the message that you must 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: A username token is typically not sent in the response. Thus, you usually do not need to select username token.

What to do next

After you specify which message parts to decrypt, you must specify which method to use when decrypting the response message. See Configuring the client for response decryption: Choosing a decryption method for more information.

Related concepts
Response receiver
XML encryption
Related tasks
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



Searchable topic ID:   twbs_confclrespdecryptmsg
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/twbs_confclrespdecryptmsg.html

Library | Support | Terms of Use | Feedback