History | View | Annotate | Download (4 kB)
Make the aai middleware deliver a test authorisation cookie
To simplify development and testing the aai middleware was converted toreturn the test authorisation cookie. To retrieve it call
http://localhost:8000/?test
The cookie now protects the whole application
Move and fix test cases to the appropriate locations
Split aai middleware into two instances
One instance guards the API (and returns 401 if the user is unauthorized), one protects the other content and redirects to Sibboleth
Support for storing X-Auth-Tokens in cookies
fix ui authentication
send a fake auth_token on API requests
fix authentication
use hard-coded token.
Refs #425
Add support for users
Fixes #423
Fix tests, fix side auth cases
All tests now working
Various fixes to make AAI work for real
Refs: #345
Avoid redirect loops
Use vkoukis's TEST variable instead of my custom TESTING
Shortcut in the aai module to make tests pass
Introduces a test-time runtime variable which allows REST-based (e.g.api) tests to pass through the authentication module
Rename auth to aai and put all aai related stuff in it
manage.py had trouble running tests from auth (confirmed with[verigak]), and is also a good idea to have all aai stuff inone reusable place ([vkoukis]'s idea)