[Twisted-Python] enterprise.dbcred.DatabaseAuthorizer

Uwe C. Schroeder uwe at oss4u.com
Fri Apr 25 12:33:29 EDT 2003

On Thursday 24 April 2003 06:21 pm, Christopher Armstrong wrote:
> I'm going to be hacking on DatabaseAuthorizer soon(er or later).
>  * Is anybody using it? The current code is pretty crufty, so
>    I'll probably just replace it once the hacking is done, unless
>    it's actually being used.
>  * Does anyone have a wishlist for it?

Yes and yes. Don't hardcode table and fieldnames. 
Maybe you want to produce more detailed errors why the auth failed. I.e. when 
you have several services and a user isn't subscribed to one of them you'll 
get an "unknown user" error,  I think you should get a different error saying 
something about "service subscribtion" if the user is subscribed to other 
services on the same server.


Open Source Solutions 4U, LLC	2570 Fleetwood Drive
Phone:  +1 650 872 2425		San Bruno, CA 94066
Cell:   +1 650 302 2405		United States
Fax:    +1 650 872 2417

More information about the Twisted-Python mailing list