When HTTP Authentication is Necessary
When HTTP Authentication is Necessary

When HTTP Authentication is Necessary

Use this configuration when, for example, a firewall requires a username and/or password.
It may be necessary to specify a username and password to various routers and servers along the path to the remote server. Typically when using a browser to access the server the authentication request will be presented in the form of a dialog window that asks for the username and password.
Since the printer’s connection to the remote server is headless and non-interactive, the Weblink configuration allows a user to enter in a server name/username/password triplet. The triplet will be used in the event that the printer is presented with an authentication request (for example, this typically is requested via the
HTTP/1.1 401 Unauthorized
request).
To specify authentication credentials, issue the following:
! U1 setvar "weblink.ip.conn1.authentication.add" "servername.com username password"
In this scenario the server requesting authentication is servername.com. The username and password to be supplied are ‘username’ and ‘password’. The server name can be either a DNS name or an IP address. The username and password cannot be retrieved from SGD, SNMP, or JSON once added. Only the server name will be returned.
More than one set of authentication triplets can be added. The printer will only use the credentials as they are needed. In other words, the printer will only use the credentials for servername.com if it receives a
HTTP/1.1 401 Unauthorized
request from servername.com.
To see what authentication triplets are specified issue:
! U1 getvar "weblink.ip.conn1.authentication.entries"
To remove authentication credentials issue the following:
! U1 setvar "weblink.ip.conn1.authentication.remove" "servername.com"