Try OpenEdge Now
skip to main content
WebClient Applications
Developing the Application : Using WebClient's authentication dialogs : Displaying the AIA authentication dialog
 

Displaying the AIA authentication dialog

To display WebClient's AIA authentication dialog, use the _getAIAAuthentication.p procedure, which has the following signature:
DEFINE INPUT        PARAMETER prompt                     AS CHARACTER.
DEFINE INPUT        PARAMETER enable-persistent-checkbox AS LOGICAL.
DEFINE INPUT-OUTPUT PARAMETER url-userid                 AS CHARACTER.
DEFINE INPUT-OUTPUT PARAMETER url-password               AS CHARACTER.
DEFINE INPUT-OUTPUT PARAMETER persistent                 AS LOGICAL.
DEFINE OUTPUT       PARAMETER choseOK                    AS LOGICAL.
Use this procedure if the codebase and business logic share authentication information and there is no authentication at the AppServer itself.
To invoke the _getAIAAuthentication.p procedure, call it with a partially qualified pathname that starts with the wcadd directory, as in the following code fragment:
RUN wcadd/_getAIAAuthentication.p (parameter-list).