O'Reilly logo

Oracle SOA Suite 11g Developer's Cookbook by Matt Wright, Antony Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Restricting a composite to authorized users

In the previous recipe, we allowed any authenticated user in the WebLogic domain access to our service. In this recipe, we will further restrict access to only those users that have a particular role.

Getting ready

Ensure that a suitable policy has been created for the role that we want to use to restrict access to a service.

How to do it...

  1. Add an authentication policy.

    Follow the steps given in the Restricting a composite to authenticated users with HTTP Basic Security recipe in this chapter to add an authentication policy to the service you want to protect.

  2. Add an authorization policy.

    Repeat the previous step, except this time choose the policy that you created to grant access to a particular group.

    You ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required