Adding
Role-based Security in Oracle Visual Builder Cloud Service
Before You Begin
This 10 minute tutorial is the first in the Creating and
Assigning Roles module.
Background
Oracle Visual Builder Cloud Service is a visual development
tool for creating web and mobile applications by simply dragging
and dropping UI components onto a page. You don't need any
programming experience to develop an application.
In this tutorial, you will enable role based security.
Note that changes that you make to authentication and security
are only applied after you stage the application. Any versions
of your application that are currently staged or published will
not be affected.
The images in this tutorial sequence show the standalone
version of Oracle Visual Builder Cloud Service. If you are using
the Oracle Integration Cloud version, you will see an additional
menu at the top of each page that lets you switch between Visual
Builder and Integration Cloud.
Click the
Main Menu icon in the top-left corner and open the Security
page under Application Settings. Select Require
Authentication in the Access pane, and select Allow
anonymous access. Anonymous access will allow users
who are not logged in to view parts of your application that
you grant them access to.
Description of
the illustration vbcs_s1_2_require_auth.png
Role-based security is disabled by default. To enable
role-based security you must configure the specific page,
component or business object.
Secure
Pages
In this section, you will secure two pages, allowing access
only for certain roles, while leaving another page accessible by
all roles, including anonymous users.
Open the Security page under Application
Settings, if it is not already open.
In the Pages panel, enable role-based
authentication for the Sales Objectives and Sales Regions
pages by selecting each page’s Authentication
Required checkbox. Ensure that the Summary page's Authentication
Required checkbox is not enabled, to allow anyone
access to this page.
Description of the
illustration vbcs_s2_1_page_auth.png
The Pages panel lists each page in your application and the
roles that can access the page. For each page, click in the
Role text area. Select user roles from the dropdown list
according to the following table:
Sales Objectives: Sales Manager,
Salesperson
Summary: Anonymous access
(Authentication Required checkbox should
not be checked)
Now use the Who am I? role selector to
also select the Authenticated User and
preview the application.
Description of the
illustration vbcs_preview4.png
In addition to the Summary page, an authenticated user can
view the Sales Regions page, but not the Sales Objectives
page.
Use the Who am I? role selector and add
the Sales Manager or Salesperson
role, and preview the application.
Description of the
illustration vbcs_preview5.png
The Sales Manager and Salesperson roles can view all three
pages of the application.