Skip to main content
This revision made September 30, 2012 00:05, by steven.davelaar

Using the Tester in a Secured Application

Main Table of Contents

If you start the tester in a web application with ADF security with authorization enabled, then depending on your security settings you will get an authorization error either on the tester page itself or on the launcher task flow that is used by thhe tester page. Both errors are shown below

To correctly run the tester without these authorization errors you need to grant the appropriate role to the task flow tester page and the two task flows used by the tester.. To set these grants, you go to the Application -> Secure -> Resource Grants menu option in JDeveloper. To grant access to the tester web page you set the "Resource Type" to "Web Page" and you check the checkbox "Show web pages imported from ADF libraries". Then, the tester page should show up in the list as shown below.

You can now select the tester page and click the iconic add button to grant the test-all role to this page.

To grant access to the tester task flows you set the "Resource Type" to "Task Flow" and you check the checkbox "Show web pages imported from ADF libraries". Then, the tester task flows named tester-tf and launcher-tf should show up in the list as shown below.

You can now select each tester task flow and click the iconic add button to grant the test-all role to this page.

Difference compared to previous revision
<span><h2>Using the Tester in a Secured Application</h2> [[UserGuide | Main Table of Contents]] If you start the tester in a web application with ADF security <span style="text-decoration:underline;color:green">with authorization </span>enabled, then depending on your security settings you will get an authorization error either on the tester page itself or on the launcher task flow that is used by thhe tester page. Both errors are shown below [[image: <span style="text-decoration:underline;color:green">AuthError.jpg|block]] [[image: AuthErrorLauncher.jpg|block]] To correctly run the tester without these authorization errors you need to grant the appropriate role to the task flow tester page and the two task flows used by the tester.. To set these grants, you go to the Application -> Secure -> Resource Grants menu option in JDeveloper. To grant access to the tester web page you set the "Resource Type" to "Web Page" and you check the checkbox "Show web pages imported from ADF libraries". Then, the tester page should show up in the list as shown below. [[image: GrantTesterPage.jpg|block]] You can now select the tester page and click the iconic add button to grant the test-all role to this page. To grant access to the tester task flows you set the "Resource Type" to "Task Flow" and you check the checkbox "Show web pages imported from ADF libraries". Then, the tester task flows named tester-tf and launcher-tf should show up in the list as shown below. [[image: GrantTaskFlows.jpg|block]] You can now select each tester task flow and click the iconic add button to grant the test-all role to this page. </span> <span>
 
 
Close
loading
Please Confirm
Close