Before you start
In this tutorial, we will describe how to exploit the routing capability of WebSphere Enterprise Service Bus in conjunction with dynamic searches for service endpoint metadata from WebSphere Service Registry and Repository for enabling multi-tenancy. We will also show how to integrate the routing capability with access control functions by integrating with Tivoli Access Manager.
Figure 1. Enabling multi-tenancy for a Web service using a WESB mediation module
In part 4, we described a scenario and a use case with Sam Peters as the service provider for the Jivaro bank multi-tenant application. In this tutorial, we will show how Sam Peters, enables multi-tenancy for his existing single tenant Credit Check Web service through the following steps:
- Create a mediation module in WESB for routing tenant requests (Section 3)
- Add tenant specific service metadata for routing to WSRR (Section 4)
- Add authorization policies in Tivoli Access Manager (Section 5)
Sam Peters will use the following tool to develop the mediation approach:
- WebSphere Integration Developer (WID) v6.1
following software to deploy the mediation approach:
- WebSphere Enterprise Service Bus (ESB) (or process server) v6.1
- WebSphere Service Registry and Repository (WSRR) v6.1
- Tivoli Access Manager (TAM/TDS v6)
The following software to deploy multiple instances of the credit check Web service, one per tenant:
- WebSphere Portal Server v6
- WebSphere Process Server v6.1
Please refer to the Resources section for further details on the installation and integration of these products.




