HTTPLib.setHTTPBasicAuthentication system function

HTTPLib.setHTTPBasicAuthentication gives the user access to a web application when that access is protected by JEE basic authentication. The function lets you provide a user ID and password, which are automatically encrypted for inclusion in an HTTP header. This function is not implemented in version .7.

Package

eglx.http

Syntax
static function setHTTPBasicAuthentication(http eglx.http.IHttp in,
                                           userID string in,
                                           userPassword string in);
http
A variable that implements the IHttp Interface. That variable might be based on the HttpRest or HttpSOAP handler. For details on all three types, see “eglx.http.package.”
userID
The user ID to send.
password
The password to send.
Example use

Comments
Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript No issues.