-
Book Overview & Buying
-
Table Of Contents
Oracle ADF 11gR2 Development Beginner's Guide
By :
Now we will see how to provide permissions for the available resources:
Double-click on
the jazn-data.xml file from the META-INF folder in Application Resources | Descriptors.
Go to the Resource Grants section in the jazn-data.xml file. Set the Source Project value to ViewController.
From the Resource Type list, select the Web Page option.

When you select the Web Page option, you will see that all the page resources for the application are listed below.
Now we will have to give permission for our index page so that we can see the page instead of getting the 401 --Unauthorized error after login.
Select the index page from the Resources list and then click on the + icon from the Granted To section. We are going to grant permission for the index page to anonymous role as shown in the following screenshot:

After clicking on the + icon, we select the Add Application Role option from the menu. This will open the Select Application Roles pop up.
In the pop...
Change the font size
Change margin width
Change background colour