Search the Reference Library pages:  

Oracle OWA_CUSTOM
Version 11.1
 
General Information
Source {ORACLE_HOME}/rdbms/admin/privcust.sql
First Availability 8.1.7
Dependencies
OWA OWA_GLOBAL OWA_SEC
OWA_COOKIE OWA_INIT  
 
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
 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us    © 2003 - 2024 psoug.org
-----