method
new
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
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. |