diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-05-04 16:24:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-04 16:24:57 +0200 |
commit | d734f6bbd680749449f2a7b28e4b23d25deba9ee (patch) | |
tree | 073ae49879a5f04bf4084190cc53c4dd323e53df /mitmproxy/options.py | |
parent | 40f387eb48c192391fcf265e05d0605217b58ea7 (diff) | |
parent | 154e8ac0fc1b1553beaba2a73de1130e681a61c0 (diff) | |
download | mitmproxy-d734f6bbd680749449f2a7b28e4b23d25deba9ee.tar.gz mitmproxy-d734f6bbd680749449f2a7b28e4b23d25deba9ee.tar.bz2 mitmproxy-d734f6bbd680749449f2a7b28e4b23d25deba9ee.zip |
Merge pull request #2286 from charlesdhdt/master
Added LDAP Auth
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 5667f39f..1091fe78 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -204,8 +204,12 @@ class Options(optmanager.OptManager): """ Require proxy authentication. Value may be "any" to require authenticaiton but accept any credentials, start with "@" to specify - a path to an Apache htpasswd file, or be of the form - "username:password". + a path to an Apache htpasswd file, be of the form + "username:password", or be of the form + "ldap[s]:url_server_ldap:dn:group", the dn must include "?", which will be + the username prompted, and the group is the group the user must belong to + an example would be + "ldap:ldap.forumsys.com:uid=?,dc=example,dc=com:person". """ ) self.add_option( |