Audit invalid attempt to set/change the label for a policy beyond max session label and raise the appropriate exception.
This procedure is invoked by sa_session.set_label, sa_session.set_access_profile, and sa_session.restore_default_labels in two cases:
the label to set is beyond the max session label or the max_session_label is NULL.
dbms_macols_session.label_audit_raise(
policy_name IN VARCHAR2,
label IN VARCHAR2,
proc_name IN VARCHAR2);
MAC OLS processing to merge default session label for a policy with the labels of any factors associated to the policy
after the SA_SESSION restore_default_labels method is called
dbms_macols_session.restore_default_labels(
policy_name IN VARCHAR2,
x_session_label OUT VARCHAR2,
x_mac_label OUT VARCHAR2);
MAC OLS processing to merge default session label for a policy with the exist MAX session label after the SA_SESSION set_access_profile method is called
dbms_macols_session.set_access_profile(
policy_name IN VARCHAR2,
user_name IN VARCHAR2,
p_max_session_label IN VARCHAR2,
x_new_session_label OUT VARCHAR2)
RETURN NUMBER;