221 OWA_CUSTOM

The OWA_CUSTOM package provides a Global PLSQL Agent Authorization callback function.

It is used when PLSQL Agent's authorization scheme is set to GLOBAL or CUSTOM when there is no overriding OWA_CUSTOM package.

The chapter contains the following topics:

221.1 OWA_CUSTOM Constants

OWA_CUSTOM defines several constants to use when specifying parameter values.

  • dbms_server_timezone CONSTANT VARCHAR2(3) := 'PST';

  • dbms_server_gmtdiff CONSTANT NUMBER := NULL;

221.2 Summary of OWA_CUSTOM Subprograms

The AUTHORIZE function is the only subprogram in the OWA_CUSTOM package.

Table 221-1 OWA_CUSTOM Package Subprograms

Subprogram Description

AUTHORIZE Function

Provides a Global PLSQL Agent Authorization callback function

221.2.1 AUTHORIZE Function

This function is used when PLSQL Agent's authorization scheme is set to GLOBAL or CUSTOM when there is no overriding OWA_CUSTOM package.

Syntax

OWA_CUSTOM.AUTHORIZE 
  RETURN BOOLEAN;