5.21 SET_AUTHENTICATION_SCHEME Procedure

This procedure sets the authentication scheme of an application.

Syntax

APEX_APPLICATION_ADMIN.SET_AUTHENTICATION_SCHEME (
    p_application_id IN NUMBER,
    p_name           IN VARCHAR2 )

Parameters

Parameter Description
p_application_id The application ID.
p_name

The name of the authentication scheme to be activated.

This new authentication scheme must exist in the application. If null, the active authentication scheme remains unchanged.

Example

The following example activates authentication scheme "SSO-Production" for application 100.

BEGIN
    apex_application_admin.set_authentication_scheme (
        p_application_id => 100,
        p_name           => 'SSO-Production' );
END;