Oracle OWA_CUSTOM
Version 11.2.0.2
 
General Information
Source {ORACLE_HOME}/rdbms/admin/privcust.sql
First Availability 8.1.7
Dependencies
OWA OWA_GLOBAL OWA_SEC
OWA_COOKIE OWA_INIT  
Security Model Owned by SYS with no privs granted
 
AUTHORIZE
Global PLSQL Agent Authorization callback function. It is used when PLSQL Agent's authorization scheme is set to GLOBAL or CUSTOM when there is overriding OWA_CUSTOM package. This is a default implementation that the developer should modify. owa_custom.authorize RETURN BOOLEAN;
-- source code
FUNCTION authorize RETURN BOOLEAN IS
BEGIN
  owa_sec.set_protection_realm('To-be-defined realm');
  RETURN FALSE;
ENd;
 
INITIALIZATION SECTION
Package Initialization Section
-- source code
BEGIN /* OWA_CUSTOM package customization */

/*******************************************************************/
/* Set the PL/SQL Agent's authorization scheme                     */
/* This should be modified to reflect the authorization need of    */
/* your PLSQL Agent                                                */
/*******************************************************************/
  owa_sec.set_authorization(OWA_SEC.NO_CHECK);
END;
/
 
Related Topics
OWA_SEC
 
Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: © 2012 Daniel A. Morgan All Rights Reserved