Ticket #439 (closed enhancement: fixed)

Opened 7 years ago

Last modified 3 years ago

pb can't use IAnonymous credentials

Reported by: timothy Owned by: exarkun
Priority: normal Milestone:
Component: pb Keywords:
Cc: itamarst, warner, timothy, exarkun Branch:
Author: Launchpad Bug:

Description


Attachments

anonymous.py Download (0.8 KB) - added by timothy 7 years ago.

Change History

Changed 7 years ago by timothy

Changed 7 years ago by timothy

An error occurs in t.s.pb.PBClientFactory.login() when passing t.c.Anonymous
credentials.

Changed 7 years ago by itamarst

Currently PB only supports UsernamePassword credentials. Ideally we'd like to
support more, and have better way of defining what goes over network, rather
than just type of credential (e.g. some might want to use SRP, or send in clear
text since it's SSL but backend requires plaintext password.)

Meanwhile, you can define your own support for this by subclassing
PBClientFactory and PBServerFactory and extending the "protocol" (remote API).

Changed 4 years ago by exarkun

#2313 is a duplicate of this. When the patch there is applied, this will be resolved as well.

Changed 4 years ago by itamarst

  • cc exarkun added

Actually #2312.

Changed 4 years ago by itamarst

  • owner changed from itamarst to exarkun

Changed 3 years ago by exarkun

  • status changed from new to closed
  • resolution set to fixed

(In [21124]) Merge pb-login-2312-2

Author: carlosedp, exarkun Reviewer: glyph, exarkun, therve Fixes #439 Fixes #2312

Add support for IAnonymous credentials to PBServerFactory and PBClientFactory. It is now possible to attempt a cred login anonymously using these classes. The cred portal is ultimately responsible for determining if the login should succeed or fail, as is the general case.

Note: See TracTickets for help on using tickets.