History | View | Annotate | Download (2.5 kB)
Merge branch 'api-current'
Conflicts: api/middleware.py
Don't check for expiration if we have no user
Add exclude for API calls in AAI middlware
Fixes 3 failed tests
Mostly cosmetic changes to the auth middlewares
PEP-8 compliance
Add expires field for auth token
Refs: #483
Fix redundant whitespace at end of lines
Remove all unecessary whitespace at end of lines.Seehttp://stackoverflow.com/questions/5257553/coloring-white-space-in-git-diffs-output
for a way to have git highlight redundant whitespace automatically.
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
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)
All Shibboleth-based tests pass
Now, we need to test it against a real installation
Make most tests pass
Fixes to pass some shibboleth related tests
Authentication routine, with comments
Make tests fail gracefully with assertions.
Also correct spelling of the word shibboleth
User deletion test
Some coding before enlighting discussion w/ faidon
Custom middleware to support authentication