123456789_123456789_123456789_123456789_123456789_

Class: WEBrick::HTTPAuth::ProxyBasicAuth

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BasicAuth
Instance Chain:
Inherits: WEBrick::HTTPAuth::BasicAuth
Defined in: lib/webrick/httpauth/basicauth.rb

Overview

Basic authentication for proxy servers. See BasicAuth for details.

Constant Summary

Authenticator - Included

AuthException, AuthScheme, RequestField, ResponseField, ResponseInfoField

BasicAuth - Inherited

AuthScheme

ProxyAuthenticator - Included

AuthException, InfoField, RequestField, ResponseField

Class Method Summary

BasicAuth - Inherited

.make_passwd

Used by UserDB to create a basic password entry.

.new

Creates a new BasicAuth instance.

Instance Attribute Summary

BasicAuth - Inherited

Authenticator - Included

#logger

The logger for this authenticator.

#realm

The realm this authenticator covers.

#userdb

The user database for this authenticator.

Instance Method Summary

BasicAuth - Inherited

#authenticate

Authenticates a req and returns a 401 Unauthorized using res if the authentication was not correct.

#challenge

Returns a challenge response which asks for authentication information.

Authenticator - Included

#check_init

Initializes the authenticator from config

#check_scheme

Ensures req has credentials that can be authenticated.

#error, #info, #log

Constructor Details

This class inherits a constructor from WEBrick::HTTPAuth::BasicAuth