[Home] [Help]
PACKAGE: OWAPUB.OWA_SEC
Source
1 package OWA_SEC is
2
3 /*******************************************************************/
4 /* PL/SQL Agent's authorization schemes */
5 /*******************************************************************/
6 NO_CHECK constant integer := 1; /* no authorization check */
7 GLOBAL constant integer := 2; /* global check by a single procedure */
8 PER_PACKAGE constant integer := 3; /* use auth procedure in each package */
9 CUSTOM constant integer := 4; /* use custom auth procedure */
10 /* owa_custom.authorize */
11
12 /*******************************************************************/
13 /* Procedure to specify the PL/SQL Agent's authorization scheme */
14 /*******************************************************************/
15 procedure set_authorization(scheme in integer);
16
17 /*******************************************************************/
18 /* Functions to obtain the Web client's authentication information */
19 /*******************************************************************/
20 function get_user_id return varchar2;
21 function get_password return varchar2;
22 function get_client_ip return owa_util.ip_address;
23 function get_client_hostname return varchar2;
24
25 /*******************************************************************/
26 /* Procedure to specify the dynamic page's protection realm */
27 /*******************************************************************/
28 procedure set_protection_realm(realm in varchar2);
29
30 end;