method

authentication_request

authentication_request(controller, realm)
public

No documentation available.

# File actionpack/lib/action_controller/http_authentication.rb, line 149
      def authentication_request(controller, realm)
        controller.headers["WWW-Authenticate"] = %(Basic realm="#{realm.gsub(/"/, "")}")
        controller.__send__ :render, :text => "HTTP Basic: Access denied.\n", :status => :unauthorized
      end