Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By : Vinod Thatheri Krishnan
Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By: Vinod Thatheri Krishnan

Overview of this book

Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away. "Oracle ADF 11gR2 Development Beginner's Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2. Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.
Table of Contents (19 chapters)
Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Time for action – adding permissions


Now we will see how to provide permissions for the available resources:

  1. Double-click on the jazn-data.xml file from the META-INF folder in Application Resources | Descriptors.

  2. Go to the Resource Grants section in the jazn-data.xml file. Set the Source Project value to ViewController.

  3. From the Resource Type list, select the Web Page option.

  4. When you select the Web Page option, you will see that all the page resources for the application are listed below.

  5. 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.

  6. 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:

  7. After clicking on the + icon, we select the Add Application Role option from the menu. This will open the Select Application Roles pop up.

  8. In the pop...