CODE
Oracle Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
PSOUG Home Code Snippets Oracle Reference Oracle Functions PSOUG Forum Oracle Blogs Bookmark and Share
 
 Search the Reference Library pages:  

Free
Oracle Magazine
Subscriptions
and Oracle White Papers

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      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us [217 users online]    © 2010 psoug.org