Skip Headers
Oracle® Database Vault Administrator's Guide
11g Release 1 (11.1)

Part Number B31222-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

F Oracle Database Vault DVSYS.DBMS_MACSEC_ROLES Package

You can modify your applications to use the functions within the DVSYS.DBMS_MACSEC_ROLES package to check the authorization for a user or to set an Oracle Database Vault secure application role. The DVSYS.DBMS_MACSEC_ROLES package is available to all users.

Chapter 8, "Configuring Secure Application Roles for Oracle Database Vault" describes secure application roles in detail. See also Appendix G, "Oracle Database Vault DVSYS.DBMS_MACUTL Package" for a set of general-purpose utility functions that you can use with the secure application role functions.

Table F-1 lists the DVSYS.DBMS_MACSEC_ROLES package functions.

Table F-1 DVS.DBMS_MACSEC_ROLES Oracle Label Security Configuration Functions

Function Description

CAN_SET_ROLE Function


Checks whether the user invoking the method is authorized to use the specified Oracle Database Vault secure application role. Returns a BOOLEAN value.

SET_ROLE Function


Issues the SET ROLE statement for an Oracle Database Vault secure application role.


F.1 CAN_SET_ROLE Function

This function checks whether the user invoking the method is authorized to use the specified Oracle Database Vault secure application role. It returns a BOOLEAN value.

Syntax

CAN_SET_ROLE(
  p_role VARCHAR2);

Parameters

Table F-2 CAN_SET_ROLE Parameter

Parameter Description

p_role

Role name.

To find existing secure application roles, use the DBA_DV_ROLE view, described in "Oracle Database Vault Public Views".


F.2 SET_ROLE Function

This function issues the SET ROLE statement for an Oracle Database Vault secure application role. If a rule set that is associated with the role evaluates to false, then the role is not set.

Syntax

SET_ROLE(
  p_role VARCHAR2);

Parameters

Table F-3 SET_ROLE Parameter

Parameter Description

p_role

Role name.

To find existing secure application roles in the current database instance, use the DBA_DV_ROLE view, described in "Oracle Database Vault Public Views".