OSDN Git Service

Added support for HTTP Basic access to the API. (#3920)
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 23 Dec 2009 06:27:38 +0000 (06:27 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 23 Dec 2009 06:27:38 +0000 (06:27 +0000)
commite07e9d8bfed47b7af782075485437a34e7dc20f8
treeb59edd9542627fc67e8885473c2a8f8c0cfa955c
parentbaa1ad42560fb9bfd6f99cd3374c4b5c1e7ae668
Added support for HTTP Basic access to the API. (#3920)

A user can authenticate using either their:

* username/password
* api-key/random

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3219 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/application_controller.rb
test/integration/api_token_login_test.rb
test/integration/http_basic_login_test.rb [new file with mode: 0644]
test/integration/http_basic_login_with_api_token_test.rb [new file with mode: 0644]