]> code.delx.au - gnu-emacs-elpa/commit
url-http-ntlm: Remove limit of one username and password per server
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Thu, 29 Oct 2015 13:54:31 +0000 (09:54 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Thu, 18 Feb 2016 03:19:54 +0000 (22:19 -0500)
commit355e7563bcc4a95e3545bc529b2d26e4adb9939f
tree82462772f5a79c8db4b3bdc7c2cd6d9ced83dd61
parent2dbfb3824f361818e377e5b7541d5233063c4992
url-http-ntlm: Remove limit of one username and password per server

* url-http-ntlm.el: Remove comment about only supporting one
username and password.  Do not make url-http-ntlm--last-args a
buffer-local variable.
(url-http-ntlm--auth-storage): Change docstring to not mention one
user and password limitation.
(url-http-ntlm--default-users): New variable.
(url-http-ntlm--ensure-user): New function.
(url-http-ntlm--get-stage): Take a url argument.  Store a key in
url-http-ntlm--last-args.
(url-http-ntlm--authorisation): Take a realm argument.  Use a key
when accessing url-http-ntlm--last-args.
(url-ntlm-auth): Ensure the received URL has its user slot set
before processing it.
packages/url-http-ntlm/url-http-ntlm.el