| Oracle XS_NAMESPACE Version 26ai |
|---|
| General Information | |||||||||||||||||||
| Library Note |
|
||||||||||||||||||
| Purpose | Real Application Security Namespace Management | ||||||||||||||||||
| AUTHID | CURRENT_USER | ||||||||||||||||||
| Constants |
|
||||||||||||||||||
| Data Types | -- the full DDL can be found in {ORACLE_HOME}/rdbms/admin/xsns.sql |
||||||||||||||||||
| Dependencies |
|
||||||||||||||||||
| Documented | Yes | ||||||||||||||||||
| First Available | 12.1 | ||||||||||||||||||
| Pragma | -- Enable log based replication for this package |
||||||||||||||||||
| Security Model | Owned by SYS with EXECUTE granted to PUBLIC | ||||||||||||||||||
| Source | {ORACLE_HOME}/rdbms/admin/xsns.sql The DBA role is granted to the ADMIN_ANY_SEC_POLICY, which allows it to administer namespace templates and attributes. |
||||||||||||||||||
| Subprograms | |||||||||||||||||||
| ADD_ATTRIBUTES | |||||||||||||||||||
| Add a attributes to the namespace template Overload 1 |
xs_namespace.add_attributes( |
||||||||||||||||||
-- demo from Oracle RAS doc |
|||||||||||||||||||
| Add a attributes to the namespace template Overload 2 |
xs_namespace.add_attributes( |
||||||||||||||||||
| TBD | |||||||||||||||||||
| CREATE_TEMPLATE | |||||||||||||||||||
| Document creation API | xs_namespace.create_template( |
||||||||||||||||||
-- based on demo from Oracle RAS doc |
|||||||||||||||||||
| DELETE_TEMPLATE | |||||||||||||||||||
| Delete the namespace template | xs_namespace.delete_template( |
||||||||||||||||||
exec xs_namespace.delete_template('POAttrs', xs_admin_util.cascade_option); |
|||||||||||||||||||
| REMOVE_ATTRIBUTES | |||||||||||||||||||
| Remove all attributes to the namespace template Overload 1 |
xs_namespace.remove_attributes(template IN VARCHAR2); |
||||||||||||||||||
exec sys.xs_namespace.remove_attributes('POAttrs'); |
|||||||||||||||||||
| Remove a single attribute from the namespace template Overload 2 |
xs_namespace.remove_attributes( |
||||||||||||||||||
See ADD_ATTRIBUTES Demo Above |
|||||||||||||||||||
| Remove a list of attribute from the namespace template Overload 3 |
xs_namespace.remove_attributes( |
||||||||||||||||||
| TBD | |||||||||||||||||||
| SET_DESCRIPTION | |||||||||||||||||||
| Set namespace description | xs_namespace.set_description( |
||||||||||||||||||
exec sys.xs_namespace.set_description('POAttrs','Purchase Order Attributes'); |
|||||||||||||||||||
| SET_HANDLER | |||||||||||||||||||
| Set handler for attribute events | xs_namespace.set_handler( |
||||||||||||||||||
exec sys.xs_namespace.set_handler(POAttrs', 'SH', 'orders', 'populate_po'); |
|||||||||||||||||||
| This site is maintained by Daniel Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved | ||||||||
|
|
|||||||||