|
|
|
|
To connect to a server with HTTP Authentication (See RFC 2617
for more details), it is necessary to define the client login and password as
registered on the server side.
The following two entries must be defined with an unique identifier (httpauth
for our example) to define a HTTP Authentication with fourjs as login and passphrase as password:
authenticate.httpauth.login = "fourjs" authenticate.httpauth.password = "passphrase"
As a client is able to connect to different servers that do not know the client
with the same login and password, it is necessary to specify the login and
password that correspond to each server.
To authenticate the client known as fourjs and with the password passphrase by the server myserver, add the following entry:
ws.myserver.authenticate = "httpauth"
To connect via a proxy with HTTP Proxy Authentication (See RFC 2617 for more details), it is necessary to define the client login and password as registered on the HTTP proxy.
The following two entries must be defined with an unique identifier (proxyauth for
our example) to define a HTTP Proxy Authentication with myapplication as login and mypassword as password:
authenticate.proxyauth.login = "myapplication" authenticate.proxyauth.password = "mypassword"
To authenticate a client known as myapplication and with mypassword as password by the HTTP Proxy, add the following entry to the HTTP proxy configuration:
proxy.http.authenticate = "proxyauth"Notes: