[Twisted-Python] need an identity

Glyph Lefkowitz glyph at twistedmatrix.com
Sun Jul 14 00:08:23 EDT 2002


On Thu, 11 Jul 2002 13:01:56 -0500, "Sean Riley" <sean at ninjaneering.com> wrote:
> One solution would be for me would be for the identity to be passed into
> getPerspectiveRequest as another argument [...]

> This is may be too drastic an API change for just this one case... but it
> doesnt require changing much existing code...

I think you're right here.

This will become increasingly necessary as identities implement more
authorization techniques, and particular services need to verify that the
identities have been verified, say, without using a cleartext password.

However, in the interests of preserving backwards compatibility, maybe have a
getExtendedPerspectiveRequest() that had the additional argument[s] that you
need.

Is there anyone out there who is currently using this API who has a reason not
to change their code?

-- 
 |    <`'>    |  Glyph Lefkowitz: Traveling Sorcerer   |
 |   < _/ >   |  Lead Developer,  the Twisted project  |
 |  < ___/ >  |      http://www.twistedmatrix.com      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20020713/5099e1ba/attachment.pgp 


More information about the Twisted-Python mailing list