The OWA_SEC package provides an interface for custom authentication.
See Also:
For more information about implementation of this package:The chapter contains the following topics:
Operational Notes
Table 217-1 OWA_SEC Package Subprograms
Subprogram | Description |
---|---|
Returns the client's hostname |
|
Returns the client's IP address |
|
Returns the password that the user entered |
|
Returns the username that the user entered |
|
Enables the PL/SQL application to use custom authentication |
|
Defines the realm that the page is in |
This function returns the IP address of the client.
The IP address. The owa_util.ip_address datatype
is a PL/SQL table where the first four elements contain the four numbers of the IP address. For example, if the IP address is 123.45.67.89
and the variable ipaddr
is of the owa_util.ip_address datatype, the variable would contain the following values:
ipaddr(1) = 123 ipaddr(2) = 45 ipaddr(3) = 67 ipaddr(4) = 89
This procedure, called in the initialization portion of the OWA_CUSTOM package, sets the authorization scheme for the PL/SQL Gateway. This implements your authorize
function, which authorizes the user before his requested procedure is run. The placement of the authorize
function depends on the scheme you select.
Table 217-2 SET_AUTHORIZATION Procedure Parameters
Parameter | Description |
---|---|
|
The authorization scheme. It is one of the following schemes for
If the function returns |