Oracle9iAS Portal Developer Kit

login procedure

Contained in package wwsec_app_priv.

Call this procedure to redirect the browser to the user Login Page.

procedure login

(

p_requested_url in varchar2 default wwctx_api.get_product_schema || '.home',
p_cancel_url IN varchar2 default wwctx_api.get_product_schema || '.home'

);

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_requested_url

The URL of the object for which privileges are being checked.

Datatype: in varchar2
Default: wwctx_api.get_product_schema || '.home'

p_cancel_url

Specifies a page to be displayed when the user cancels authentication.

Datatype: in varchar2
Default: wwctx_api.get_product_schema || '.home'

Exceptions:

This function returns no exceptions. If an error exists, this procedure redirects the user's browser to the requested URL.

Example:

if not wwctx_api.is_logged_on

then

wwsec_app_priv.login

(

p_requested_url => l_requested_url

);

...

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio