Oracle9i Application Developer's Guide - Advanced Queuing Release 1 (9.0.1) Part Number A88890-02 |
|
Managing AQ, 3 of 10
For 8.1-style queues, the compatible
parameter of init
.ora
and the compatible
parameter of the queue table should be set to 8.1 to use the following features:
AQ administrators of an Oracle9i database can create 8.1-style queues. All 8.1 security features are enabled for 8.1-style queues. Note that AQ 8.1 security features work only with 8.1-style queues. When you create queues, the default value of the compatible
parameter in DBMS_AQADM
.CREATE_QUEUE_TABLE
is 8.1
.
Table 4-1 lists the AQ security features and privilege equivalences supported with 8.1-style queues.
You can grant or revoke privileges at the object level on 8.1- style queues. You can also grant or revoke various system-level privileges. The following table lists all common AQ operations and the privileges need to perform these operations for an Oracle9i or 8.1-compatible queue:
For an OCI application to access an 8.1-style queue, the session user has to be granted either the object privilege of the queue he intends to access or the ENQUEUE ANY QUEUE
and/or DEQUEUE ANY QUEUE
system privileges. The EXECUTE
right of DBMS_AQ
will not be checked against the session user's rights if the queue he intends to access is anOracle9i or 8.1-compatible queue.
AQ propagates messages through database links. The propagation driver dequeues from the source queue as owner of the source queue; hence, no explicit access rights have to be granted on the source queue. At the destination, the login user in the database link should either be granted ENQUEUE
ANY
QUEUE
privilege or be granted the rights to enqueue to the destination queue. However, if the login user in the database link also owns the queue tables at the destination, no explicit AQ privileges need to be granted.
|
![]() Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|