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;
-- 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;
/