Opened 4 years ago

#4537 enhancement new

Implement replacements for BasicAuthorizer and DigestAuthorizer in twisted.protocols.sip

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

BasicAuthorizer and DigestAuthorizer are both deprecated. DigestAuthorizer also creates instances of the deprecated DigestedCredentials class. At some point we'll want to remove all of these things (actually, I want to remove them now, because they're affected by #4536).

Before they can be deleted though, something new needs to be created so that RegisterProxy can have something to authenticate against.

twisted.cred.credentials.DigestCredentialsFactory is very similar to IAuthorizer (it was probably partly based on it).

I don't remember why IAuthorizer isn't deprecated. It seems like it should be, but I could be misremember. Perhaps it's a perfectly servicable interface and merely needs new implementations based on things from twisted.cred.

Change History (1)

comment:1 Changed 4 years ago by <automation>

  • Owner glyph deleted
Note: See TracTickets for help on using tickets.