Release 10.1A: OpenEdge Deployment:
WebClient Applications

> ## Displaying the AppServer authentication dialog

> To display WebClient’s AppServer authentication dialog, use the `_getAppServer` `Authentic` `ation.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 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 `_getAppServerAuthentication.p` procedure if the codebase and business logic reside on the same AppServer or share the same authorization information and:

> - Authentication is required only at the AppServer and not at the AIA Web server (or you are not using AIA).

> Or:

> - Authentication is required at AIA and at the AppServer, but AIA authorization information is set in the security cache and thus available in `CODEBASE-LOCATOR:URL-USERID` and `CODEBASE-LOCATOR:URL-PASSWORD`.

> Note: In this case, you might instead call `_getAIAandAppServerAuthentication.p`, passing in the known values and allowing the end user to fill in the missing values.

> To invoke the `_getAppServerAuthentication.p` procedure, call it with a partially qualified pathname that starts with the `wcadd` directory, as in the following code fragment:

>     RUN wcadd/_getAppServerAuthentication.p(parameter-list).

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095