U:RDoc::NormalModule[iI" HTTPAuth:EFI"WEBrick::HTTPAuth;T0o:RDoc::Markup::Document: @parts[ o;;[o:RDoc::Markup::Paragraph;[I" 'DigestAuth example realm' } ;TI" ;TI"Chtpasswd = WEBrick::HTTPAuth::Htpasswd.new 'my_password_file' ;TI"8htpasswd.auth_type = WEBrick::HTTPAuth::DigestAuth ;TI"@htpasswd.set_passwd config[:Realm], 'username', 'password' ;TI"htpasswd.flush ;T: @format0o; ;[I"JThe +:Realm+ is used to provide different access to different groups ;TI"Kacross several resources on a server. Typically you'll need only one ;TI"realm for a server.;T@o; ;[I":This database can be used to create an authenticator:;T@o; ;[I" config[:UserDB] = htpasswd ;TI" ;TI"@A@D@G@J@MI" WEBrick;FcRDoc::NormalModule