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.
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
.