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

Displaying the AIA and AppServer authentication dialog

To display WebClient's AIA and AppServer authentication dialog, use the _getAIAandAppServerAuthentication.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 appserver_userid           AS CHARACTER.
DEFINE INPUT-OUTPUT PARAMETER appserver_password         AS CHARACTER.
DEFINE INPUT-OUTPUT PARAMETER appserver_info             AS CHARACTER.
DEFINE INPUT-OUTPUT PARAMETER persistent                 AS LOGICAL.
DEFINE OUTPUT       PARAMETER choseOK                    AS LOGICAL.
Use the _getAIAandAppServerAuthentication.p procedure if the codebase and the business logic share authorization information, you are using the AIA, and authorization is required by the AIA server and by the AppServer.
To invoke the _getAIAandAppServerAuthentication.p procedure, call it with a partially qualified pathname that starts with the wcadd directory, as in the following code fragment:
RUN wcadd/_getAIAandAppServerAuthentication.p (parameter-list).