Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring SecuredService-service.xml

The SecuredService-service.xml file contains the security policy configuration which is used to secure the BPEL service. For example:

...

Add an additional element called endpoint to the inbound interface configuration section as shown below. The endpoint element is used to identify where the SecuredService-service.xml file is located. You need to provide the policy file name as the serviceDescriptionReference value and ‘http://wso2.org/bps/bpel/endpoint/config’ as the XML namespace.

...

There are multiple ways you can package SecuredService-service.xml.

  • Package within the BPEL process. Tree structure of a secured BPEL package is shown below.
  • Store in the registry (config or WSO2 Governance Registry). You can specify the file path as follows:

    Panel

    serviceDescriptionReference="conf:/SecuredService-service.xml" OR serviceDescriptionReference="gov:/SecuredService-service.xml" in the deploy.xml file. 

  • Store in the file system. You can specify the file path as follows:

    Panel

    serviceDescriptionReference="./../../../../repository/conf/SecuredService-service.xml" in the deploy.xml file.

The BPEL process is now secured.

Secure by using a predefined security scenarios at the BPEL at the runtime

Deploy the BPEL process and goto service listing page. Navigate to Process Information page.

Click on Security on the QOS Dashboard.

Image Removed

...

Applying security with Developer Studio

You can configure security policies using WSO2 Developer Studio. For more information on how to do this, see Applying Security for a Service.