Try OpenEdge Now
skip to main content
OpenEdge 11.6.3 New Information : Server Technologies and Tools : Domain name support for CONNECT method
 

Domain name support for CONNECT method

When connecting ABL Clients to Progress Application Server (PAS) for OpenEdge or AppServer Internet Adapter (AIA) using the CONNECT method, you can add domain name to the user name (provide the fully qualified name) using two new parameters, -httpBasicUid and -httpBasicPwd.
-httpBasicUid
Specifies the fully qualified name of the user to connect to a Web server that hosts PAS for OE or AIA web application.
-httpBasicPwd
Specifies the password for the user name.
Note: If you specify only –httpBasicUid and not –httpBasicPwd, the default value of the password is an empty string.
For example:
h:CONNECT("-URL http://restful:password@nbrestful:8810 -httpBasicUid restuser@restdomain.com -httpBasicPwd password")
Also, the user name and the password you specified in -httpBasicUid and -httpBasicPwd take precedence over the ones you specify in URL http://uid:pwd@host:port. So, in the example above, the user name used to connect is restuser@restdomain.com and not restful.
You can continue using the following syntax if you do not need to use the fully qualified name of the user:
CONNECT( -URL http://uid:pwd@host:port)