Search Results audit_update_role




Overview

SYS.XS_ADMIN_INT is the internal administrative interface package for Oracle's Real Application Security (XS) framework, which is embedded within the Oracle E-Business Suite database tier and shipped in the SYS schema. In the EBS 12.1.1 and 12.2.2 environments, this package provides the low-level primitives used to create, manage, and remove security entities — users, roles, and their associated ACLs, scopes, and proxy grants — that underpin the XS security model. It is declared with AUTHID CURRENT_USER, meaning that all SQL operations it performs execute under the privileges of the invoking user rather than the package owner. This design enforces that callers must themselves possess the necessary system privileges (captured by the SPRIV_* constants) before any administrative action succeeds.

The package abstracts the referential complexity of the XS data model. Because security objects reference one another through role grants, inheritance chains, scope ACLs, and protection instance sets, deleting or invalidating an entity can have cascading effects. XS_ADMIN_INT centralizes that logic so that higher-level administrative APIs and dictionary views behave consistently.

Key Procedures and Functions

Tables Accessed

The ETRM metadata does not enumerate specific base tables accessed through APPS synonyms; the package operates against the XS data dictionary owned by SYS, which stores entity definitions, dependency relationships, ACL and scope assignments, proxy grants, and audit records. Because these are SYS-owned metadata tables, direct DML is restricted, and interaction occurs only through this package and its companion APIs.

Usage Notes

XS_ADMIN_INT is an internal interface and is not intended for direct invocation by EBS application code. It is referenced by fourteen other packages, which layer product-facing administrative operations on top of these primitives. In practice, it is invoked indirectly when administrators create or maintain users and roles, when security grants are established or revoked, and when audit records are written for those changes. Custom code should avoid calling XS_ADMIN_INT directly, as its signatures and constants are Oracle-internal and subject to change between release levels. Any dependency creation in a custom extension should be routed through supported XS or EBS security APIs.