Boomi

Process Filtering

Introduction

What is Process Filtering?

Process filtering is a functionality used to grant access to certain web service listener processes deployed to the selected Atom or environment. The user can invoke web service calls only for processes to which they have access.

We can find this option in  Atom Management à Shared Web Server.

This section is present only if the API Type is set to Intermediate.

Let’s log into the Boomi platform and follow some steps to achieve Process filtering:

 Steps:

Step 1. Go to platform.boomi.com

Step 2. Log in by providing your valid credentials (username and password).

Step 3. The home page will be displayed, now click on “Integration”.

Step 4. Click on Manage à Atom Management à Click on your Atom and go to the Shared Webserver section.

Step 5. Set the API type as Intermediate.

Step 6. Go to User Management, click on Use process filtering, and choose a particular API.

Step 7. I have two APIs exposed for my Atom, and I have only one User. I have chosen the “Get all data from class” API. That means we can only access the “Get all data from class” API using the selected User credentials.

These are the URLs for those APIs:

http://LAPTOP-6TILFCVB:9090/ws/simple/getClass?TableName=

http://LAPTOP-6TILFCVB:9090/ws/simple/getData

Let’s go to Postman and try to call both APIs and check the response.

This is the response for the “Get all data from class” API call:

This is the response for the “Sample API” call

As we can see for the API which was not selected as a part of Process filtering we couldn’t call that.

Now we will try to add one more user, and give the access to the Sample API for the user.

Step 8. Click on ‘+’ button to add a new user, and give a username.

Step9. Click on the Use Process Filtering checkbox, and select Sample API.

Step 10. Click on Save and Restart Plugin now.

Step 11. Copy the Username and Password for the new user and go to the Postman.

Use new username and password and hit the API.

As we can see, now we have 200 status codes in response.

Author

Apurba Sarkar

Leave a comment

Your email address will not be published. Required fields are marked *