[Version 5.0.2 and later]Configuring the client for request encryption: Encrypting the message parts

Before you begin

Prior to completing these steps, read either of the following topics to familiarize yourself 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 Web services security bindings, respectively.

Why and when to perform this task

Complete the following steps to specify which message parts to encrypt when configuring the client for request encryption:

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 Enterprise JavaBeans (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, and click 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 Request Sender Configuration > 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 message is encrypted before it is sent and decrypted when it is received at the correct target. For more information on encrypting , see XML encryption.
  8. Select the parts of the message that you want to encrypt by clicking Add.
    You can select one of the following parts:
    Bodycontent
    User data portion of the message
    Usernametoken
    Basic authentication information, if selected

What to do next

After you specify which message parts to encrypt, you must specify which method to use to encrypt the request message. See Configuring the client for request encryption: Choosing the encryption method for more information.

Related concepts
Request sender
Related tasks
Securing Web services using XML encryption
Configuring the client for request encryption: Choosing the encryption 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_confclreqencryptmsg
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/twbs_confclreqencryptmsg.html

Library | Support | Terms of Use | Feedback