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
Use this package to manages user name, levels, labels, and read and write permissions for the current session.
AUTHID
DEFINER
Dependencies
ALL_SA_COMPARTMENTS
ALL_SA_USER_PRIVS
OLS$POL
ALL_SA_GROUPS
DBMS_MACOLS
OLS$SESSINFO
ALL_SA_GROUP_HIERARCHY
DBMS_MACOLS_SESSION
OLS$SESSION_LIBT
ALL_SA_LEVELS
DBMS_STANDARD
OLS$USER_LEVELS
ALL_SA_USERS
LBAC_CACHE
SA_UTL
ALL_SA_USER_COMPARTMENTS
LBAC_LGSTNDBY_UTIL
USER_SA_SESSION
ALL_SA_USER_GROUPS
LBAC_STANDARD
V_$INSTANCE
ALL_SA_USER_LABELS
OLS$LAB
V_$OPTION
ALL_SA_USER_LEVELS
Documented
Yes: In Label Security Administration doc
First Available
10.1
Security Model
Owned by LBACSYS with EXECUTE granted to PUBLIC
and DVSYS.
Returns the label string that was used to initialize the session's maximum authorized read label composed of the maximum level, compartments and groups authorized for read access
sa_session.max_read_label(policy_name IN VARCHAR2) RETURN VARCHAR2;
SELECT sa_session.max_read_label('DATA_ACCESS')
FROM dual;
Returns the label string that was used to initialize the session's maximum authorized write label composed of the maximum level, compartments and groups authorized for write access
sa_session.max_write_label(policy_name IN VARCHAR2) RETURN VARCHAR2;
SELECT sa_session.max_write_label('DATA_ACCESS')
FROM dual;
Stores the current session label and row label as the session's initial session label and default row label.
Permits changing defaults to reflect the current session label and row label. Saved labels are used as the initial default settings for future sessions.
sa_session.save_default_labels(policy_name IN VARCHAR2);
exec sa_session.save_default_labels(policy_name IN VARCHAR2);