Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update auth_token middleware to support creds.
Updates to the auth_token middleware to support admin_user and admin_password in addition to the existing admin_token. If an admin_token isn't specified then a call to obtain the admin_token is made. If an admin token expires the username and password can also be used to obtain a fresh token. Also, added a test for case for middleware where token isn't specified. Fixes LP Bug #923573. Change-Id: I643efec310cbb9a175607cc17f0c077f261b1d6d
- Loading branch information
Dan Prince
committed
Feb 2, 2012
1 parent
d2e6f63
commit f76477c
Showing
4 changed files
with
78 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters