PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part Number B10802-01 |
|
|
View PDF |
The DBMS_XDBZ package controls the Oracle XML DB repository security, which is based on Access Control Lists (ACLs).
This chapter contains the following topic:
This procedure disables repository support for a particular XMLType
table or view.
DBMS_XDBZ.DISABLE_HIERARCHY( object_schema IN VARCHAR2, object_name IN VARCHAR2);
Parameter | Description |
---|---|
|
The schema name of the |
|
The name of the |
This procedure enables repository support for a particular XMLType
table or view. This allows the use of a uniform ACL-based security model across all documents in the repository.
DBMS_XDBZ.ENABLE_HIERARCHY( object_schema IN VARCHAR2, object_name IN VARCHAR2);
Parameter | Description |
---|---|
|
The schema name of the |
|
The name of the |
This function retrieves the ACL Object ID for the specified resource, if the repository path is known.
DBMS_XDBZ.GET_ACLOID( aclpath IN VARCHAR2, acloid OUT RAW) RETURN BOOLEAN;
Parameter | Description |
---|---|
|
ACL resource path for the repository. |
|
The returned Object ID. |
Returns TRUE
if successful.
This function retrieves the user ID for the specified user name. The local database is searched first, and if found, the USERID
is returned in 4-byte database format. Otherwise, the LDAP directory is searched, if available, and if found, the USERID
is returned in 4-byte database format.
DBMS_XDBZ.GET_USERID( username IN VARCHAR2, userid OUT RAW, format IN BINARY_INTEGER := NAME_FORMAT_SHORT) RETURN BOOLEAN;
Parameter | Description |
---|---|
|
Name of the database or LDAP user. |
|
Return parameter for the matching user id. |
|
Format of the specified user name; valid options are: |
Returns TRUE
if successful.
This function determines if repository support for the specified XMLType
table or view is enabled.
DBMS_XDBZ.IS_HIERARCHY_ENABLED( object_schema IN VARCHAR2, object_name IN VARCHAR2) RETURN BOOLEAN;
Parameter | Description |
---|---|
|
The schema name of the |
|
The name of the |
Returns TRUE
if enabled.
This function purges the LDAP nickname cache. Returns TRUE
if successful.
DBMS_XDBZ.PURGELDAPCACHE RETURN BOOLEAN;