aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/http_basic_authentication_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Authorization scheme should be case insensitive. Fixes #21199Dennis Suratna2015-08-111-0/+8
|
* Stop using deprecated `render :text` in testPrem Sichanugrist2015-07-171-4/+4
| | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`.
* Remove `assigns` and `assert_template`.Guo Xiang Tan2015-05-301-2/+1
|
* Give authentication methods the ability to customize response message.Keenan Brock2015-05-031-3/+3
| | | | Digest allowed the messages. Add the same feature to basic and token
* Add test for HTTP basic authentication when no credential is given.Zhang Kai Yu2015-01-241-0/+7
|
* Check authentication scheme in Basic authtomykaira2013-07-071-0/+7
| | | | | | | | | | `authenticate_with_http_basic` and its families should check the authentication schema is "Basic". Different schema, such as OAuth2 Bearer should be rejected by basic auth, but it was passing as the test shows. This fixes #10257.
* update documentation and code to use _action callbacksFrancesco Rodriguez2012-12-071-3/+3
|
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-2/+2
|
* remove ActiveSupport::Base64 in favor of ::Base64Sergey Nartimov2012-01-021-1/+1
|
* Eliminate newlines in basic auth. fixes #2882Aaron Patterson2011-09-061-0/+8
|
* Added Base.http_basic_authenticate_with to do simple http basic ↵David Heinemeier Hansson2011-03-281-0/+16
| | | | authentication with a single class method call [DHH]
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-3/+3
| | | | 's/[ \t]*$//' -i {} \;)
* Fix HTTP basic authentication for long credentials [#2572 state:resolved]Jan Schwenzien2009-08-091-0/+25
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move basic auth test controller inside the test classPratik Naik2009-01-291-21/+21
|
* Improve HTTP Basic authentication testsPratik Naik2009-01-181-0/+88