Before you start
Learn what to expect from this tutorial, and how to get the most out of it.
IBM® Data Studio helps you to service-enable your SQL statements or stored procedures to help fully integrate your data server into an SOA. Part 1 in this series showed you how to create a Web service that selects and updates data in a DB2 database. Part 2 of this series described how to enable the Web service for transport-level security. In this tutorial, you will learn how to leverage the trusted context feature of DB2 to provide end-to-end authorization and authentication for your Web services.
IBM WebSphere® Application Server is one of the possible target platforms for Data Web Services. This series of tutorials helps you to leverage the full power of Data Web Services in combination with WebSphere Application Server by using some of the enhanced features that are provided by WebSphere Application Server and DB2 for security, performance, and reliability.
In this tutorial, you will learn how to leverage the trusted context feature of DB2 to provide end-to-end authorization and authentication for your Web services. This tutorial takes approximately one hour to complete. Two more tutorials will follow to discuss Web service security and Web service atomic transactions.
This tutorial provides the following information:
- A brief introduction to the DB2 trusted context feature
- Information about how to set up WebSphere Application Server to use DB2 trusted context
- A demonstration of how DB2 trusted context works together with WebSphere Application Server and the Data Web Services application by turning on the JCC trace in WebSphere Application Server
This tutorial is written for database programmers who are familiar with IBM Data Studio and know how to create a database connection, a data development project, and SQL scripts or stored procedures. Before you start this tutorial, you should also complete "IBM Data Studio: Get started with Data Web Services" (developerWorks, Nov 2007) and "Enable transport-level security" (developerWorks, May 2008). Basic knowledge of WebSphere Application Server and J2EE are recommended.
To run the examples in this tutorial, you must install IBM Data Studio 1.1.2 and WebSphere Application Server Version 6.1 (Fix Pack 11). You must also install DB2 for z/OS Version 9 or DB2 for Linux, UNIX, and Windows Version 9.5 and create the sample database.

