You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/04/15 23:00:01 UTC

[5/9] mesos git commit: Added documentation around using AuthN for HTTP frameworks.

Added documentation around using AuthN for HTTP frameworks.

This change adds config docs around authenticating HTTP
frameworks using the newly introduced flags. Also added a
small note to the `authenticate` flag that this does not
work for HTTP based frameworks.

Review: https://reviews.apache.org/r/46212/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/792b08d5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/792b08d5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/792b08d5

Branch: refs/heads/master
Commit: 792b08d5a6871610dcaa2df83a1d7905bc7adc09
Parents: 8996b6e
Author: Anand Mazumdar <ma...@gmail.com>
Authored: Fri Apr 15 15:59:22 2016 -0500
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Apr 15 15:59:22 2016 -0500

----------------------------------------------------------------------
 docs/configuration.md | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/792b08d5/docs/configuration.md
----------------------------------------------------------------------
diff --git a/docs/configuration.md b/docs/configuration.md
index ce51f26..cd97330 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -79,6 +79,17 @@ HTTP endpoints are also allowed. (default: false)
 </tr>
 <tr>
   <td>
+    --[no-]authenticate_http_frameworks
+  </td>
+  <td>
+If <code>true</code>, only authenticated HTTP based frameworks are allowed to
+register. If <code>false</code>, HTTP frameworks are not authenticated. For more
+about HTTP frameworks see the Scheduler HTTP API
+<a href="/documentation/latest/scheduler-http-api">documentation</a>. (default: false)
+  </td>
+</tr>
+<tr>
+  <td>
     --firewall_rules=VALUE
   </td>
   <td>
@@ -123,6 +134,20 @@ Currently there is no support for multiple HTTP authenticators. (default: basic)
 </tr>
 <tr>
   <td>
+    --http_framework_authenticators=VALUE
+  </td>
+  <td>
+HTTP authenticator implementation to use when authenticating HTTP frameworks.
+Use the <code>basic</code> authenticator or load an alternate HTTP authenticator
+module using <code>--modules</code>. This must be used in conjunction with
+<code>--authenticate_http_frameworks</code>.
+<p/>
+Currently there is no support for multiple HTTP authenticators.
+  </td>
+</tr>
+
+<tr>
+  <td>
     --ip=VALUE
   </td>
   <td>
@@ -463,7 +488,8 @@ load an alternate allocator module using <code>--modules</code>.
   </td>
   <td>
 If <code>true</code>, only authenticated frameworks are allowed to register. If
-<code>false</code>, unauthenticated frameworks are also allowed to register. (default: false)
+<code>false</code>, unauthenticated frameworks are also allowed to register. For
+HTTP based frameworks use the <code>--authenticate_http_frameworks</code> flag. (default: false)
   </td>
 </tr>
 <tr>