Securing Oracle Service Bus with Oracle Web Services Manager

You can use Oracle Web Services Manager 10.1.3.x and later in conjunction with Oracle Service Bus to help secure your SOA environment.

This document provides use cases that highlight the interaction between Oracle Service Bus and Oracle Web Services Manager features in providing security throughout the service pipeline.

No configuration in Oracle Service Bus is required for interaction with Oracle Web Services Manager. You implement Oracle Web Services Manager features at the desired client and service locations, and the interaction and enforcement occurs automatically.

For more information about Oracle Web Services Manager, see http://www.oracle.com/appserver/Web-services-manager.html.

This document describes the following security use cases with Oracle Web Services Manager:

 


Perimeter Security

Figure 11-1 illustrates using Oracle Web Services Manager Gateway for enforcing perimeter security.

Figure 11-1 Perimeter security with Oracle Web Services Manager Gateway

Perimeter security with Oracle Web Services Manager Gateway

Oracle Web Services Manager Gateway virtualizes the service exposed by the Oracle Service Bus proxy service. The inbound request to the Oracle Web Services Manager Gateway has a message protection policy. The client sends a secure request to the Oracle Web Services Manager Gateway virtualized service, which is signed and encrypted.

The Oracle Web Services Manager Gateway acts as a security enforcement point and decrypts and verifies the signature. Oracle Web Services Manager Gateway then routes the plain request to the proxy service over SSL. The proxy service forwards the request to the business service, which invokes the Web service and gets the plain response back. The response moves back through the proxy service and Oracle Web Services Manager Gateway to the client.

 


Identity Propagation

Figure 11-2 illustrates using the Oracle Web Services Manager Gateway for identity propagation using SAML (Security Assertion Markup Language) token version 1.1.

Figure 11-2 Identity propagation with Oracle Web Services Manager Gateway

Identity propagation with Oracle Web Services Manager Gateway

The client sends a basic HTTP authentication request to the Oracle Web Services Manager Gateway. Oracle Web Services Manager Gateway authenticates the user using the user name and password from the HTTP header. Oracle Web Services Manager Gateway generates a SAML sender voucher assertion with the authenticated user identity (token mediation), inserts the SAML token, and sends the assertion to the proxy service. The proxy service receives the SAML assertion with the user identity and, acting as an active intermediary, verifies the user identity. The proxy service then passes the request to the business service. The response travels back through the business service, proxy service, and Oracle Web Services Manager Gateway to the client.

 


Message Protection

This section describes the following use cases:

Message Protection with Client Agent

Figure 11-3 illustrates using the Oracle Web Services Manager Client Agent for message protection.

Figure 11-3 Message protection with an Oracle Web Services Manager Client Agent

Message protection with an Oracle Web Services Manager Client Agent

The proxy service has an inbound message protection policy. The Oracle Web Services Manager Client Agent sends a signed and encrypted request to the proxy service. The proxy service receives the secured request and, acting as an active intermediary, decrypts and verifies signature and routes the request to the business service. The business service invokes the Web service, gets the response back, and sends it to the proxy service. The proxy service signs and encrypts the response and sends it to the Oracle Web Services Manager Client Agent. The Client Agent receives the secure response, decrypts and verifies the signature, and passes the response to the client.

Message Protection with Gateway

Figure 11-4 Message protection with an Oracle Web Services Manager Gateway

Message protection with an Oracle Web Services Manager Gateway

The client sends a plain request through the proxy and business services in Oracle Service Bus. The business service signs and encrypts the request and sends the message to the Oracle Web Services Manager Gateway. The Gateway decrypts and verifies the request. The plain message response is passed back to the client.

Message Protection with Server Agent

Figure 11-5 Message protection with an Oracle Web Services Manager Server Agent

Message protection with an Oracle Web Services Manager Server Agent

The client sends a plain request through the proxy and business services in Oracle Service Bus. The business service signs and encrypt the request and sends the message to the Oracle Web Services Manager Server Agent. The Server Agent decrypts and verifies the request. The plain message response is passed back to the client.

Message Protection with Client and Server Agents

Figure 11-6 Message protection with an Oracle Web Services Manager Client and Server Agents

Message protection with an Oracle Web Services Manager Client and Server Agents

The Oracle Web Services Manager Client Agent signs and encrypts a client request and sends the request through the proxy and business services to the Web service. The Web service has a Server Agent injected in it. The Server Agent has an inbound message protection policy that decrypts and verifies the signature, then signs and encrypts the response. The response is sent back to the Client Agent, which decrypts and verifies the response, then returns the plain request to the client.

 


Authentication

Figure 11-7 illustrates using the Oracle Web Services Manager Client Agent for authentication.

Figure 11-7 Authentication with an Oracle Web Services Manager Client Agent

Authentication with an Oracle Web Services Manager Client Agent

The proxy service has a user name token policy. The client, through Oracle Web Services Manager Client Agent, sends a request to the proxy service with user credentials at the message level in a user name token. The proxy service maps the user credential from the user name token using credential mapping and sends it through the business service to the Web service for authentication. The Web service is protected using an Oracle Web Services Manager service agent with an inbound user name token policy. The Oracle Web Services Manager Service Client Agent extracts and authenticates the user credentials. The response is then sent back through the business service and the proxy service to the client.

      Tech/BPEL PM  |  2009. 3. 11. 18:09



archidream's Blog is powered by Daum