These docs have AuthzPlugin with a lower case 'z'. What the plugin
api is actually looking for is AuthZPlugin with an upper case 'Z'.
See https://github.com/docker/docker/blob/46e3a249a1971f8697ca338c9b02e27d36ddab12/pkg/authorization/api.go#L5-L8
Signed-off-by: Everett Toews <everett.toews@rackspace.com>
(cherry picked from commit c42fbc6b0906c7ccafe5a35d9c2288f83361849d)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -141,11 +141,11 @@ docker: Error response from daemon: plugin PLUGIN_NAME failed with error: AuthZP |
| 141 | 141 |
In addition to Docker's standard plugin registration method, each plugin |
| 142 | 142 |
should implement the following two methods: |
| 143 | 143 |
|
| 144 |
-* `/AuthzPlugin.AuthZReq` This authorize request method is called before the Docker daemon processes the client request. |
|
| 144 |
+* `/AuthZPlugin.AuthZReq` This authorize request method is called before the Docker daemon processes the client request. |
|
| 145 | 145 |
|
| 146 |
-* `/AuthzPlugin.AuthZRes` This authorize response method is called before the response is returned from Docker daemon to the client. |
|
| 146 |
+* `/AuthZPlugin.AuthZRes` This authorize response method is called before the response is returned from Docker daemon to the client. |
|
| 147 | 147 |
|
| 148 |
-#### /AuthzPlugin.AuthZReq |
|
| 148 |
+#### /AuthZPlugin.AuthZReq |
|
| 149 | 149 |
|
| 150 | 150 |
**Request**: |
| 151 | 151 |
|
| ... | ... |
@@ -169,7 +169,7 @@ should implement the following two methods: |
| 169 | 169 |
"Err": "The error message if things go wrong" |
| 170 | 170 |
} |
| 171 | 171 |
``` |
| 172 |
-#### /AuthzPlugin.AuthZRes |
|
| 172 |
+#### /AuthZPlugin.AuthZRes |
|
| 173 | 173 |
|
| 174 | 174 |
**Request**: |
| 175 | 175 |
|