diff options
author | Charles d'Hondt <charles.dhondt@gmail.com> | 2017-04-28 16:19:27 +0200 |
---|---|---|
committer | Charles d'Hondt <charles.dhondt@gmail.com> | 2017-04-28 16:19:27 +0200 |
commit | 5fb18ad275c701971e447c32b1a60f053edf2b35 (patch) | |
tree | 2c5aa4fcdf0c6d447baacb5ac068ea6b3a38d612 /mitmproxy/options.py | |
parent | b537997f4f5d7c33562414a414913b6cd89f99c3 (diff) | |
download | mitmproxy-5fb18ad275c701971e447c32b1a60f053edf2b35.tar.gz mitmproxy-5fb18ad275c701971e447c32b1a60f053edf2b35.tar.bz2 mitmproxy-5fb18ad275c701971e447c32b1a60f053edf2b35.zip |
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 e477bed5..289360f1 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -199,8 +199,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( |