~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/authentication-ring.txt

  • Committer: Vincent Ladeuil
  • Date: 2007-10-18 10:33:11 UTC
  • mto: (2961.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2962.
  • Revision ID: v.ladeuil+lp@free.fr-20071018103311-ysh1obz1wo75lzx0
Add -Dauth handling.

* doc/developers/authentication-ring.txt:
(Use Cases): Add sub-domains example.

* bzrlib/help_topics.py:
(_global_options): Add auth.

* bzrlib/debug.py: 
Add 'auth'. Fix alphabetical order.

* bzrlib/config.py: 
Fix imports.
(AuthenticationConfig.get_credentials): Report the matching
section if -Dauth is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
 
252
252
        # Pet projects on hobby.net
253
253
        [hobby]
254
 
        scheme=https
255
254
        host=r.hobby.net
256
 
        verify_certificates=no
257
255
        user=jim
258
256
        password=obvious1234
259
257
        
260
258
        # Home server
261
259
        [home]
 
260
        scheme=https
262
261
        host=home.net
263
262
        user=joe
264
263
        password='c2VjcmV0LXBhc3M='
265
264
        password_encoding=base64
 
265
        verify_certificates=no # Still searching a free certificate provider
266
266
        
267
267
        [DEFAULT]
268
268
        user=foobar
292
292
        port=3128
293
293
        user=proxyuser1
294
294
        password=proxypass1
295
 
        
 
295
 
 
296
  * source hosting provider declaring sub-domains for each project::
 
297
 
 
298
        [sfnet]
 
299
        scheme=ssh # we use sftp, but ssh is the scheme used for authentication
 
300
        host=.sf.net # The leading '.' ensures that 'sf.net' does not match
 
301
        user=georges
 
302
        password=ben...son
 
303
 
296
304
 
297
305
UI Changes
298
306
----------