| Oracle SA_UTL Version 20c |
|---|
| General Information | |||||||||||||||||||||||||
| Library Note | |||||||||||||||||||||||||
| Purpose | Contains utility functions and procedures that are used in PL/SQL programs. | ||||||||||||||||||||||||
| AUTHID | DEFINER | ||||||||||||||||||||||||
| Dependencies |
|
||||||||||||||||||||||||
| Documented | Yes:Partial | ||||||||||||||||||||||||
| First Available | 10.1 | ||||||||||||||||||||||||
| Security Model | Owned by LBACSYS with no privileges granted. | ||||||||||||||||||||||||
| Source | {ORACLE_HOME}/rdbms/admin/prvtolsdd.plb | ||||||||||||||||||||||||
| Subprograms |
|
||||||||||||||||||||||||
| CHECK_LABEL_CHANGE | |||||||||||||||||||||||||
| Checks if the user can change the data label for a policy protected table row Overload 1 |
sa_utl.check_label_change( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.check_label_change( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| CHECK_READ | |||||||||||||||||||||||||
| Checks if the user can read a policy-protected table row Overload 1 |
sa_utl.check_read( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.check_read( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| CHECK_WRITE | |||||||||||||||||||||||||
| Checks if the user can insert, update, or delete data in a policy protected table row Overload 1 |
sa_utl.check_write( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.check_write( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| DATA_LABEL | |||||||||||||||||||||||||
| Returns TRUE if the label is a data label Overload 1 |
sa_utl.data_label(label IN BINARY_INTEGER) RETURN BOOLEAN; |
||||||||||||||||||||||||
DECLARE |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.data_label(label IN XMLTYPE) RETURN BOOLEAN; |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| DOMINATED_BY | |||||||||||||||||||||||||
| Returns TRUE if label1 is dominated by label2 Overload 1 |
sa_utl.dominated_by( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.dominated_by( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| DOMINATES | |||||||||||||||||||||||||
| Returns TRUE if label1 dominates label2 or if the session label for the given OLS policy dominates label 2 Overload 1 |
sa_utl.dominates( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.dominates( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| Returns TRUE if the label tested is the dominant label Overload 3 |
sa_utl.dominates( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| GREATEST_LBOUND | |||||||||||||||||||||||||
| Returns a label that is the greatest lower bound of the two label arguments Overload 1 |
sa_utl.greatest_lbound( |
||||||||||||||||||||||||
exec sa_utl.greatest_lbound(111, 211) |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.greatest_lbound( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| LABEL | |||||||||||||||||||||||||
| Returns the current session label | sa_utl.label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
SELECT sa_utl.label('DATA_ACCESS') |
|||||||||||||||||||||||||
| LBAC_READ_LABEL | |||||||||||||||||||||||||
| Undocumented | sa_utl.lbac_read_label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
SELECT sa_utl.lbac_read_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| LBAC_ROW_LABEL | |||||||||||||||||||||||||
| Undocumented | sa_utl.lbac_row_label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
SELECT sa_utl.lbac_row_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| LBAC_WRITE_LABEL | |||||||||||||||||||||||||
| Undocumented | sa_utl.lbac_write_label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
SELECT sa_utl.lbac_write_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| LEAST_UBOUND | |||||||||||||||||||||||||
| Returns a label that is the least upper bound of the label arguments Overload 1 |
sa_utl.least_ubound( |
||||||||||||||||||||||||
SELECT sa_utl.least_ubound(111, 211) |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.least_ubound( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| MERGE_LABEL | |||||||||||||||||||||||||
| Undocumented Overload 1 |
sa_utl.merge_label( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| Overload 2 | sa_utl.merge_label( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| NUMERIC_LABEL | |||||||||||||||||||||||||
| Returns the current session label | sa_utl.numeric_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
SELECT sa_utl.numeric_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| NUMERIC_READ_LABEL | |||||||||||||||||||||||||
| Returns the current session read label | sa_utl.numeric_read_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
SELECT sa_utl.numeric_read_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| NUMERIC_ROW_LABEL | |||||||||||||||||||||||||
| Returns the current row label | sa_utl.numeric_row_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
SELECT sa_utl.numeric_row_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| NUMERIC_WRITE_LABEL | |||||||||||||||||||||||||
| Returns the current session write label | sa_utl.numeric_write_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
SELECT sa_utl.numeric_write_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| SET_LABEL | |||||||||||||||||||||||||
| Sets the label of the current database session Overload 1 |
sa_utl.set_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
SELECT sa_utl.set_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.set_label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| SET_ROW_LABEL | |||||||||||||||||||||||||
| Set the row label of the current database session Overload 1 |
sa_utl.set_row_label(policy_name IN VARCHAR2) RETURN BINARY_INTEGER; |
||||||||||||||||||||||||
exec sa_utl.set_row_label('DATA_ACCESS') |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.set_row_label(policy_name IN VARCHAR2) RETURN XMLTYPE; |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| STRICTLY_DOMINATED_BY | |||||||||||||||||||||||||
| Returns TRUE if label1 is dominated by label2 and is not equal to it Overload 1 |
sa_utl.strictly_dominated_by( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.strictly_dominated_by( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||
| STRICTLY_DOMINATES | |||||||||||||||||||||||||
| Returns TRUE if label1 dominates label2 and is not equal to it Overload 1 |
sa_utl.strictly_dominates( |
||||||||||||||||||||||||
set serveroutput on |
|||||||||||||||||||||||||
| Overload 2 | sa_utl.strictly_dominates( |
||||||||||||||||||||||||
| TBD | |||||||||||||||||||||||||