Databases Reference
In-Depth Information
14. Add authenicated-role from the Add Applicaion Role opion.
15. Go to the User secion and click on the + icon. This will allow you to create
a new user.
16. Provide webuser as the value for Name , welcome1 as Password , confirm
the password, and provide webuser as the Display Name value. Ignore the
Descripion field.
17. Now run the index.jspx page by right-clicking on and selecing the Run
opion. You will be prompted to log in.
18. Provide webuser as the Username value and Password as welcome1 to view
the page.
What just happened?
We created security permissions for the index.jspx page. If we open the jazn-data.xml
file, we will see the following entries that were added for the page:
<permissions>
<permission>
<class>oracle.adf.share.security.authorization.
RegionPermission</class>
<name>com.empdirectory.view.pageDefs.indexPageDef</
name>
<actions>view</actions>
</permission>
</permissions>
The permission to view the index.jspx page has actually been added for the index
page deiniion ile. In the same way, security permissions can be given to task lows
and page fragments.
 
Search WWH ::




Custom Search