DBA Data[Home] [Help]

PACKAGE BODY: OWAPUB.OWA_CUSTOM

Source


1 package body OWA_CUSTOM is
2 
3         /*********************************************************************/
4        /*  Global PLSQL Agent Authorization callback function -             */
5       /*     It is used when PLSQL Agent's authorization scheme is set to  */
6      /*      GLOBAL or CUSTOM when there is overriding OWA_CUSTOM package.*/
7     /*       This is a default implementation. User should modify.       */
8    /*********************************************************************/
9    function authorize return boolean is
10    begin
11       owa_sec.set_protection_realm('To-be-defined realm');
12       return FALSE;
13    end;
14 
15 begin /* OWA_CUSTOM package customization */
16 
17    /*******************************************************************/
18    /* Set the PL/SQL Agent's authorization scheme --                  */
19    /*   This should be modified to reflect the authorization need of  */
20    /*   your PLSQL Agent                                              */
21    /*******************************************************************/
22    owa_sec.set_authorization(OWA_SEC.NO_CHECK);
23 
24 end;