@@ -33,16 +33,13 @@ Configuring the Glance servers to use Keystone
33
33
----------------------------------------------
34
34
35
35
Keystone is integrated with Glance through the use of middleware. The
36
- default configuration files for both the Glance API and the Glance
37
- Registry use a single piece of middleware called ``unauthenticated-context ``,
38
- which generates a request context containing blank authentication
39
- information. In order to configure Glance to use Keystone, the
40
- ``authtoken `` and ``context `` middlewares must be deployed in place of the
41
- ``unauthenticated-context `` middleware. The ``authtoken `` middleware performs
42
- the authentication token validation and retrieves actual user authentication
43
- information. It can be found in the Keystone distribution.
44
-
45
- .. include :: ../deprecate-registry.inc
36
+ default configuration file for the Glance API uses a single piece of middleware
37
+ called ``unauthenticated-context ``, which generates a request context
38
+ containing blank authentication information. In order to configure Glance to
39
+ use Keystone, the ``authtoken `` and ``context `` middlewares must be deployed in
40
+ place of the ``unauthenticated-context `` middleware. The ``authtoken ``
41
+ middleware performs the authentication token validation and retrieves actual
42
+ user authentication information. It can be found in the Keystone distribution.
46
43
47
44
48
45
Configuring Glance API to use Keystone
@@ -90,27 +87,3 @@ with ``authtoken`` and ``context``::
90
87
91
88
[pipeline:glance-api]
92
89
pipeline = versionnegotiation authtoken context apiv1app
93
-
94
-
95
- Configuring Glance Registry to use Keystone
96
- -------------------------------------------
97
-
98
- .. include :: ../deprecate-registry.inc
99
-
100
- Configuring Glance Registry to use Keystone is also relatively
101
- straight forward. The same middleware needs to be added
102
- to ``glance-registry-paste.ini `` as was needed by Glance API;
103
- see above for an example of the ``authtoken `` configuration.
104
-
105
- Again, to enable using Keystone authentication, the appropriate
106
- application pipeline must be selected. By default, it looks like::
107
-
108
- [pipeline:glance-registry-keystone]
109
- pipeline = authtoken context registryapp
110
-
111
- To enable the above application pipeline, in your main ``glance-registry.conf ``
112
- configuration file, select the appropriate deployment flavor by adding a
113
- ``flavor `` attribute in the ``paste_deploy `` group::
114
-
115
- [paste_deploy]
116
- flavor = keystone
0 commit comments