Home > APEX_CUSTOM_AUTH > LOGIN Procedure
Previous |
Next |
Also referred to as the "Login API," this procedure performs authentication and session registration.
Syntax
APEX_CUSTOM_AUTH.LOGIN( p_uname IN VARCHAR2 DEFAULT NULL, p_password IN VARCHAR2 DEFAULT NULL, p_session_id IN VARCHAR2 DEFAULT NULL, p_app_page IN VARCHAR2 DEFAULT NULL, p_entry_point IN VARCHAR2 DEFAULT NULL, p_preserve_case IN BOOLEAN DEFAULT FALSE);
Parameter
Table: LOGIN Parameters describes the parameters available in the LOGIN
procedure.
LOGIN Parameters
Parameter | Description |
---|---|
|
Login name of the user. |
|
Clear text user password. |
|
Current Oracle Application Express session ID. |
|
Current application ID. After login page separated by a colon (:). |
|
Internal use only. |
|
If true, do not upper |
Example
The following example performs the user authentication and session registration.
BEGIN APEX_CUSTOM_AUTH.LOGIN ( p_uname => 'FRANK', p_password => 'secret99', p_session_id => V('APP_SESSION'), p_app_page => :APP_ID||':1'); END;
Note: Do not use bind variable notations forp_session_id argument. |