Skip Headers

# VPD Without Oracle Database Proxy Authentication

Previous

Next

If you are not using Oracle Database proxy authentication, you must implement session event handlers for the following session events:

- `postAcquireExclusiveConnection` (see "PostAcquireExclusiveConnection Event Handler"): used to perform VPD setup at the time TopLink allocates a dedicated connection to an isolated session and before the isolated session user uses the connection to interact with the database.

- `preReleaseExclusiveConnection` (see "PreReleaseExclusiveConnection Event Handler"): used to perform VPD cleanup at the time the isolated session is released and after the user is finished interacting with the database.

- `noRowsModifiedSessionEvent` (see "NoRowsModifiedSessionEvent Event Handler")

In your implementation of these handlers, you obtain the required user credentials from the `ConnectionPolicy` associated with the session (see "Acquiring a Client Session That Uses Connection Properties").