Setting context as a driving context

In this recipe, you'll make an existing application context a driving context (you'll associate it with the protected object).

Getting ready

To complete this recipe, you'll need an existing application context (for example, driver_ctx) and an existing user who has appropriate privileges (for example, maja).

How to do it...

  1. Connect to the database as a user who has appropriate privileges (for example, the user maja):
    $ sqlplus maja
    
  2. Make an existing application context a driving context.
    How to do it...

Get Oracle Database 12c Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.