aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorGregg Kellogg <gregg@Gregg-Kelloggs-MacBook-Pro-24.local>2009-01-29 16:00:07 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-29 16:01:59 +0000
commit306cc2b920203cfa51cee82d2fc452484efc72f8 (patch)
treef7bcc99b43765b6299c797dc44c9c7b0263d6394 /actionpack/CHANGELOG
parente6493eb9b76de73afef2706493efd090dfff4ecc (diff)
downloadrails-306cc2b920203cfa51cee82d2fc452484efc72f8.tar.gz
rails-306cc2b920203cfa51cee82d2fc452484efc72f8.tar.bz2
rails-306cc2b920203cfa51cee82d2fc452484efc72f8.zip
Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, Pratik Naik]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG21
1 files changed, 21 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 779918ae89..6bcb595cdb 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,26 @@
*2.3.0 [Edge]*
+* Implement HTTP Digest authentication. #1230 [Gregg Kellogg, Pratik Naik] Example :
+
+ class DummyDigestController < ActionController::Base
+ USERS = { "lifo" => 'world' }
+
+ before_filter :authenticate
+
+ def index
+ render :text => "Hello Secret"
+ end
+
+ private
+
+ def authenticate
+ authenticate_or_request_with_http_digest("Super Secret") do |username|
+ # Return the user's password
+ USERS[username]
+ end
+ end
+ end
+
* Improved i18n support for the number_to_human_size helper. Changes the storage_units translation data; update your translations accordingly. #1634 [Yaroslav Markin]
storage_units:
# %u is the storage unit, %n is the number (default: 2 MB)