Securing a proxy service by protecting the message

Apart from requiring the user to authenticate themselves to the proxy service, we can also enforce that a message be encrypted and signed using the message protection policies. In this recipe, we will enable the message protection to guarantee message integrity through digital signature and message confidentiality through XML encryption.

For this to work, we need to have te public key of the server certificate.

Getting ready

For this we will use the same simple OSB project as in the previous Securing a proxy service using Username Token authentication recipe.

Import the getting-ready project into Eclipse from \chapter-11\getting-ready\securing-a-proxy-service-with-message-protection.

How to do it... ...

Get Oracle Service Bus 11g Development Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.