14.
Warden
• Injects a very lazy proxy into the request
• Proxy follows around in the request
• Does nothing until you ask it
• Authenticates Requests for any kind of
“User”
• Provides a mechanism for Authentication
• Available in all downstream Rack parts

22.
Rack Setup
Rack::Builder.new do
use Rack::Session::Cookie
use Warden::Manager do |manager|
manager.default_strategies :password, :basic
manager.failure_app = BadAuthenticationEndsUpHere
end
run SomeApp
end