Wednesday, June 4, 2008

BPEL Console Security

We would like to partition BPEL domain by groups for multiple departments and/or interests. With the Oracle SOA suite 10.1.3.1.0 install, we have come to realize that the BPEL console security is very coarse grained - you can get in and do everything or you can't get in at all.

What this means is for example:
Group A owns domain D1 and have management access to D1,
Group B owns domain D2 and have management access to D2,
There is need for Group A to have read access to domain D2, but not being able to modify it. We are out of luck!

The other drawback is that If we want to tie in LDAP or OID as authentication model, it is a custom step.

Oracle do have plans for 11 release to support, I am not sure when we will have version 11 installed and tested.
  • Finer-grained control (read vs modify)
  • Tie in to SSO, LDAP, etc

Here is the exercise I went through setting up BPEL domain:

1. Login as oc4jadmin, create the domain D1.

2. As oc4jadmin, from JDeveloper, publish applications to D1. (When creating application server connections in the Connection Navigator, only oc4jadmin user account can be used. All other accounts including bpeladmin, default, do not have the RMI permissions. That means user foobar won’t be able to set up server connection without oc4jadmin account.)

3. Configure to use a XML based provider

4. Create a group/role "BPMD1DomainAdmin"
JAZN:> addrole jazn.com BPMD1DomainAdmin

5. Create a user "foobar" and grant the role "BPMD1DomainAdmin"
to the user.
JAZN:> adduser jazn.com foobar pwd
JAZN:> grantrole BPMD1DomainAdmin jazn.com foobar

6. Assign the domain admin permission to the "BPMD1DomainAdmin"
role by running:
cd C:\product\10.1.3.1\OracleAS_1\config
java -Xbootclasspath/a:/c:/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel-boot.jar -jar c:/product/10.1.3.1/OracleAS_1/j2ee/home/jazn.jar -grantperm jazn.com -role BPMD1DomainAdmin com.collaxa.security.DomainPermission D1 all

7. Restart SOA suite. Now the user foorbar could login to BPEL console, and only see his domain.

No comments: