88d6c0dc09
- Added support for memcache client (swift cache is not 100% compatible with it;it uses a timeout instead of time parameter) - Added the 'memcache_hosts' entry in the middleware ini file to support that. - Moved the caching logic to the _verify_claims call (so callers don't have to manage cache) - Added caching for bad/invalid tokens so they don't generate calls to Keystone - Added documentation for middleware configuration - Added documentation on caching configuration for middleware Change-Id: I9fc30186a91559ec8d50d90e887f5ee87669d38b |
||
---|---|---|
.. | ||
echo | ||
paste | ||
ssl | ||
README.md | ||
__init__.py |
README.md
RUNNING THE TEST SERVICE (Echo.py):
Standalone stack (with Auth_Token)
$ cd echo/bin
$ ./echod
Distributed stack (with RemoteAuth local and Auth_Token remote)
$ cd echo/bin
$ ./echod --remote
in separate session
$ cd keystone/middleware
$ python auth_token.py
DEMO CLIENT:
A sample client that gets a token from Keystone and then uses it to call Echo (and a few other example calls):
$ cd echo/echo
$ python echo_client.py
Note: this requires test data. See section TESTING for initializing data