~gandelman-a/ubuntu/precise/keystone/UCA_2012.2.1

« back to all changes in this revision

Viewing changes to doc/source/middlewarearchitecture.rst

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Soren Hansen, Logan Rosen, Chuck Short
  • Date: 2012-09-07 13:04:01 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20120907130401-o49wh9xxkr2cmuqx
Tags: 2012.2~rc1~20120906.2517-0ubuntu2
[ Adam Gandelman ]
* Refreshed patches.

[ Soren Hansen ]
* Update debian/watch to account for symbolically named tarballs and
  use newer URL.
* Fix Launchpad URLs in debian/watch.

[ Logan Rosen ]
* Fix control file to suggest python-memcache instead of python-memcached
  (LP: #998991).

[ Chuck Short ]
* New upstream version.
* Dont FTBFS if the testsuite fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
    certfile = <path to middleware public cert>
138
138
    keyfile = <path to middleware private cert>
139
139
 
 
140
For services which have separate paste-deploy ini file, auth_token middleware
 
141
can be alternatively configured in [keystone_authtoken] section in the main
 
142
config file. For example in Nova, all middleware parameters can be removed
 
143
from api-paste.ini::
 
144
 
 
145
    [filter:authtoken]
 
146
    paste.filter_factory = keystone.middleware.auth_token:filter_factory
 
147
 
 
148
and set in nova.conf::
 
149
 
 
150
    [DEFAULT]
 
151
    ...
 
152
    auth_strategy=keystone
 
153
 
 
154
    [keystone_authtoken]
 
155
    auth_host = 127.0.0.1
 
156
    auth_port = 35357
 
157
    auth_protocol = http
 
158
    auth_uri = http://127.0.0.1:5000/
 
159
    admin_user = admin
 
160
    admin_password = SuperSekretPassword
 
161
    admin_tenant_name = service
 
162
 
 
163
Note that middleware parameters in paste config take priority, they must be
 
164
removed to use values in [keystone_authtoken] section.
 
165
 
140
166
Configuration Options
141
167
---------------------
142
168