Class: BasicAuth (WEBrick::HTTPAuth)

Overview
Module Structure
Class Hierarchy
Constants
BasicAuth::AuthScheme
Class Methods
BasicAuth.make_passwd / 3
Instance Attributes
BasicAuth#realm [R]
BasicAuth#userdb [R]
BasicAuth#logger [R]
Instance Methods
BasicAuth#initialize / 2
BasicAuth#authenticate / 2
BasicAuth#challenge / 2
is a submodule of
module: HTTPAuth ( WEBrick )
has modular siblings
module: Authenticator   
module: ProxyAuthenticator   
class: ProxyBasicAuth   
class: DigestAuth   
class: ProxyDigestAuth   
class: Htdigest   
class: Htgroup   
class: Htpasswd   
module: UserDB   
includes
  Authenticator ( WEBrick::HTTPAuth )
inherits from
  Object ( Builtin-Module )
is inherited by
  ProxyBasicAuth ( WEBrick::HTTPAuth )
has class siblings
  Exception ( Builtin-Module )
  String ( Builtin-Module )
  SimpleServer ( WEBrick )
  Daemon ( WEBrick )
  GenericServer ( WEBrick )
  MountTable ( WEBrick::HTTPServer )
  AbstractServlet ( WEBrick::HTTPServlet )
  HTTPRequest ( WEBrick )
  HTTPResponse ( WEBrick )
  HTTPVersion ( WEBrick )
  DigestAuth ( WEBrick::HTTPAuth )
  Htdigest ( WEBrick::HTTPAuth )
  Htgroup ( WEBrick::HTTPAuth )
  Htpasswd ( WEBrick::HTTPAuth )
  CGI ( WEBrick )
  Socket ( WEBrick::CGI )
  Cookie ( WEBrick )
  BasicLog ( WEBrick )
has properties
constant: AuthScheme   
class method: make_passwd / 3   
attribute: realm [R]   
attribute: userdb [R]   
attribute: logger [R]   
method: initialize / 2   
method: authenticate / 2   
method: challenge / 2   
is defined at
#16 in webrick/httpauth/basicauth.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
class: Exception     
class: String     
  module: WEBrick
  class: SimpleServer
  class: Daemon
  class: GenericServer
  class: HTTPServer
class: MountTable     
  module: HTTPServlet
class: AbstractServlet     
  class: HTTPRequest
  class: HTTPResponse
  class: HTTPVersion
  module: HTTPAuth
module: Authenticator     
module: ProxyAuthenticator     
class: BasicAuth     
class: ProxyBasicAuth     
class: DigestAuth     
class: ProxyDigestAuth     
class: Htdigest     
class: Htgroup     
class: Htpasswd     
module: UserDB     
  class: CGI
class: Socket     
  class: Cookie
  class: BasicLog

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
String ( Builtin-Module )
SimpleServer ( WEBrick )
Daemon ( WEBrick )
GenericServer ( WEBrick )
MountTable ( WEBrick::HTTPServer )
AbstractServlet ( WEBrick::HTTPServlet )
HTTPRequest ( WEBrick )
HTTPResponse ( WEBrick )
HTTPVersion ( WEBrick )
BasicAuth ( WEBrick::HTTPAuth )
includes
  Authenticator ( WEBrick::HTTPAuth )
has properties
constant: AuthScheme   
class method: make_passwd / 3   
attribute: realm [R]   
attribute: userdb [R]   
attribute: logger [R]   
method: initialize / 2   
method: authenticate / 2   
method: challenge / 2   
  ProxyBasicAuth     
DigestAuth ( WEBrick::HTTPAuth )
  ProxyDigestAuth     
Htdigest ( WEBrick::HTTPAuth )
Htgroup ( WEBrick::HTTPAuth )
Htpasswd ( WEBrick::HTTPAuth )
CGI ( WEBrick )
Socket ( WEBrick::CGI )
Cookie ( WEBrick )
BasicLog ( WEBrick )

Constants

BasicAuth::AuthScheme

#19 in webrick/httpauth/basicauth.rb

AuthScheme = "Basic"   

Class Methods

BasicAuth.make_passwd / 3

#21 in webrick/httpauth/basicauth.rb

make_passwd ( realm ,
  user ,
  pass )

Instance Attributes

BasicAuth#realm [R]

#26 in webrick/httpauth/basicauth.rb

BasicAuth#userdb [R]

#26 in webrick/httpauth/basicauth.rb

BasicAuth#logger [R]

#26 in webrick/httpauth/basicauth.rb

Instance Methods

BasicAuth#initialize / 2

#28 in webrick/httpauth/basicauth.rb

initialize ( config ,
  default=Config::BasicAuth )

BasicAuth#authenticate / 2

#33 in webrick/httpauth/basicauth.rb

authenticate ( req ,
  res )

BasicAuth#challenge / 2

#55 in webrick/httpauth/basicauth.rb

challenge ( req ,
  res )