Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • webrick/httpauth/userdb.rb

Class/Module Index [+]

Quicksearch

WEBrick::HTTPAuth::UserDB

Attributes

auth_type[RW]

Public Instance Methods

get_passwd(realm, user, reload_db=false) click to toggle source
 
               # File webrick/httpauth/userdb.rb, line 23
def get_passwd(realm, user, reload_db=false)
  # reload_db is dummy
  make_passwd(realm, user, self[user])
end
            
make_passwd(realm, user, pass) click to toggle source
 
               # File webrick/httpauth/userdb.rb, line 15
def make_passwd(realm, user, pass)
  @auth_type::make_passwd(realm, user, pass)
end
            
set_passwd(realm, user, pass) click to toggle source
 
               # File webrick/httpauth/userdb.rb, line 19
def set_passwd(realm, user, pass)
  self[user] = pass
end