Skip to main content

Basic Authentication

When requesting a resource from a server, the server can initiate an authentication challenge by returning an HTTP 401 response code and returning with a WWW-Authenticate response header. In response to a Basic authenticate challenge, the browser pops up a dialog box for entering a user name and password. The user name and password are joined with a colon (:) and then sent to the server using Base-64 encoding.


More information about the Basic authentication scheme.

Eggplant Performance handles Basic authentication automatically at runtime by base64-encoding the "user" and "password" values set for the virtual user.

See Setting User Name and Password Values