It seems like I'm working fine if you do it in roughly the same style, for example.
class Configuration < HTTPServlet::AbstractServlet def do_GET(req, res) HTTPAuth.basic_auth(req, res, "My Realm") {|user, pass|
What is the problem you are facing?
source share