summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiron Levin <liron@twistlock.com>2016-05-02 22:19:23 +0300
committerSebastiaan van Stijn <github@gone.nl>2016-05-11 14:38:20 +0200
commitea8b5e07b63fb42854d1102a03041994ebac2b4c (patch)
tree30f79e4a8bda29ee03ae40f9881098d47d7451d1
parent3cf8c53515ff8144a63c6d4418738b5d4f4416a7 (diff)
downloaddocker-ea8b5e07b63fb42854d1102a03041994ebac2b4c.tar.gz
Remove response modification sections from authorization design doc
Signed-off-by: Liron Levin <liron@twistlock.com> (cherry picked from commit 638096431a36435aae0e30b6c76c134a4728ed5d) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r--docs/extend/plugins_authorization.md9
1 files changed, 1 insertions, 8 deletions
diff --git a/docs/extend/plugins_authorization.md b/docs/extend/plugins_authorization.md
index 31a6a072ab..8a1352c6d2 100644
--- a/docs/extend/plugins_authorization.md
+++ b/docs/extend/plugins_authorization.md
@@ -190,17 +190,10 @@ should implement the following two methods:
{
"Allow": "Determined whether the user is allowed or not",
"Msg": "The authorization message",
- "Err": "The error message if things go wrong",
- "ModifiedBody": "Byte array containing a modified body of the raw HTTP body (or nil if no changes required)",
- "ModifiedHeader": "Byte array containing a modified header of the HTTP response (or nil if no changes required)",
- "ModifiedStatusCode": "int containing the modified version of the status code (or 0 if not change is required)"
+ "Err": "The error message if things go wrong"
}
```
-The modified response enables the authorization plugin to manipulate the content
-of the HTTP response. In case of more than one plugin, each subsequent plugin
-receives a response (optionally) modified by a previous plugin.
-
### Request authorization
Each plugin must support two request authorization messages formats, one from the daemon to the plugin and then from the plugin to the daemon. The tables below detail the content expected in each message.