Changes committed gnus/lisp (ChangeLog auth-source.el)
"Ted Zlatanov" <[email protected]>
| Newsgroups | gmane.emacs.gnus.commits |
|---|---|
| Message-ID | <[email protected]> |
Modified: ChangeLog auth-source.el Added docs on using with url-auth. Index: ChangeLog diff -u gnus/lisp/ChangeLog:7.1851 gnus/lisp/ChangeLog:7.1852 --- ChangeLog:7.1851 Wed May 7 22:27:45 2008 +++ ChangeLog Fri May 9 21:28:48 2008 @@ -1,3 +1,7 @@ +2008-05-09 Teodor Zlatanov <[email protected]> + + * auth-source.el: Added docs on using with url-auth. + 2008-05-07 Teodor Zlatanov <[email protected]> * gnus-registry.el: Adjusted copyright dates and added a keyword. Index: auth-source.el diff -u gnus/lisp/auth-source.el:7.6 gnus/lisp/auth-source.el:7.7 --- auth-source.el:7.6 Fri Apr 25 20:42:18 2008 +++ auth-source.el Fri May 9 21:28:48 2008 @@ -41,6 +41,14 @@ ;; before you put some data in ~/.authinfo.gpg (the default place) +;;; For url-auth authentication (HTTP/HTTPS), you need to use: + +;;; machine yourmachine.com:80 port http login testuser password testpass + +;;; This will match any realm and authentication method (basic or +;;; digest). If you want finer controls, explore the url-auth source +;;; code and variables. + ;;; Code: (eval-when-compile (require 'cl)) @@ -137,6 +145,7 @@ (defun auth-source-user-or-password (mode host protocol) "Find user or password (from the string MODE) matching HOST and PROTOCOL." +;;; (debug mode host protocol) (let (found) (dolist (choice (auth-source-pick host protocol)) (setq found (netrc-machine-user-or-password