new(config, default=Config::BasicAuth)
public
Creates a new BasicAuth instance.
See WEBrick::Config::BasicAuth for default configuration entries
You must supply the following configuration entries:
:Realm |
The name of the realm being protected. |
A database of usernames and passwords. A WEBrick::HTTPAuth::Htpasswd instance should be used. |