ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Contains functions that retrieve factor identities. After Oracle Database Vault installation, the install process locks the DVF account to enhance security.
When creating a new factor, Database Vault creates a new retrieval function for the factor owned by the DVF schema.
AUTHID
DEFINER
Constants
Name
Data Type
Value
General
G_SECURE_ROLE_AUDIT_CODE
PLS_INTEGER
10006
Dependencies
DBMS_MACAUD
FACTOR$
KZV$FAC_LIBT
DBMS_MACOLS
GET_FACTOR
OLS$POL
DBMS_MACSEC_RULES
GET_FACTOR_LABEL
ROLE$
DBMS_MACUTL
GET_TRUST_LEVEL
ROLE_IS_ENABLED
DBMS_STANDARD
GET_TRUST_LEVEL_FOR_IDENTITY
SESSION_CONTEXT
DV$RULE
IDENTITY$
SET_FACTOR
DV$RULE_SET
IS_SECURE_APPLICATION_ROLE
Documented
Yes
First Available
Not Known
Security Model
Owned by DVSYS with EXECUTE with no privileges granted
Returns TRUE if a Secure Application Role is enabled for use, else FALSE
Note, in the demo at right, you must create a DVSYS role to use this. Standard Oracle Database roles are not the focus of this package.
dbms_macsec.role_is_enabled(p_role IN VARCHAR2)
RETURN BOOLEAN;
PRAGMA SUPPLEMENTAL_LOG_DATA(role_is_enabled, NONE);
SQL> select role from dvsys.role$;
no rows selected
BEGIN
IF dvsys.dbms_macsec.role_is_enabled('DBA') THEN
dbms_output.put_line('F');
ELSE
dbms_output.put_line('F');
END IF;
END;
/
BEGIN
*
ERROR at line 1:
ORA-47301: Role DBA not found
ORA-06512: at "DVSYS.DBMS_MACUTL", line 34
ORA-06512: at "DVSYS.DBMS_MACUTL", line 389
ORA-06512: at "DVSYS.DBMS_MACSEC", line 207
ORA-01403: no data found
ORA-06512: at "DVSYS.DBMS_MACSEC", line 200
ORA-06512: at line 2