15.8 SET_PERSISTENT_CREDENTIALS Procedure Signature 2

This procedure sets user name and password for the provided credential persistently, beyond the current session. Typically used for BASIC authentication.

Syntax

PROCEDURE SET_PERSISTENT_CREDENTIALS (
    p_credential_static_id  IN VARCHAR2,
    p_username              IN VARCHAR2,
    p_password              IN VARCHAR2 );

Parameters

Parameters Description
p_credential_static_id Credential static ID.
p_username Credential user name.
p_password Credential password.

Example

The following example sets user name and password into credential Login persistently.

BEGIN
    apex_credential.set_persistent_credentials (
    p_credential_static_id => 'Login',
    p_username             => 'scott',
    p_password             => 'tiger );
END;