るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.006秒)
トップページ > 種類:クラス[x] > クエリ:Passwd[x] > ライブラリ:webrick/httpauth/basicauth[x]

別のキーワード

  1. etc passwd
  2. passwd each
  3. etc passwd=
  4. passwd age
  5. passwd dir

検索結果

WEBrick::HTTPAuth::BasicAuth (9.0)

HTTP の Basic 認証のためのクラスです。

...ck's realm"
srv = WEBrick::HTTPServer.new({ :BindAddress => '127.0.0.1', :Port => 10080})

htpd = WEBrick::HTTPAuth::Htpasswd.new('dot.htpasswd')
htpd.set_passwd(nil, 'username', 'supersecretpass')

authenticator = WEBrick::HTTPAuth::BasicAuth.new(:UserDB => htpd, :Realm => realm)...