Level: Intermediate Indrajit Poddar (ipoddar@us.ibm.com), Software Architect, IBM Devaprasad Nadgir (devaprasad@in.ibm.com), IBM Certified Senior IT Architect, IBM Sobha R. Warrier (sobharwa@in.ibm.com), SOA Architect, IBM
29 Jul 2009 Part 1 of this series describes multi-tenancy and several technical
challenges faced by service providers for deploying multi-tenant web-delivered
solutions. In part 4, we presented a technical challenge on how to enable
multi-tenancy for existing single tenant Web services with little or no code
changes for shorter time to market and lower costs. We presented a mediation
approach for addressing this challenge and introduced three implementation options
using multiple IBM middleware products. In this tutorial, we describe detailed
implementation steps for utilizing WebSphere Enterprise Services Bus for enabling
multi-tenancy for existing Web services.
Before you start
About this tutorial
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)
Prerequisites
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.
|