Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-10 Thread Allen Bierbaum
t/web/howto/web-in-60/index.html On Mon, Mar 7, 2011 at 9:19 AM, Allen Bierbaum wrote: > I have a REST service I have implemented using twisted.web.  Based > upon a new requirement I need to put role-based access control > security on the service and am trying to find the most twisted way to

Re: [Twisted-Python] Authentication & Access Control system for web services

2011-03-07 Thread Allen Bierbaum
u decorate the render_ method with the permissions the caller > must possess. > > -J > > Sent via iPhone > > Is your e-mail Premiere? > > On Mar 7, 2011, at 8:19, Allen Bierbaum wrote: > >> I have a REST service I have implemented using twisted.web.  Based >> u

[Twisted-Python] Authentication & Access Control system for web services

2011-03-07 Thread Allen Bierbaum
I have a REST service I have implemented using twisted.web. Based upon a new requirement I need to put role-based access control security on the service and am trying to find the most twisted way to do it. I would like to have: - Username / password login that is checked against a backend databas

Re: [Twisted-Python] twisted.web questions

2010-06-14 Thread Allen Bierbaum
On Mon, Jun 14, 2010 at 8:38 AM, Itamar Turner-Trauring wrote: > On Mon, 2010-06-14 at 08:22 -0500, Allen Bierbaum wrote: > > > 1) Is there any method to stream a large request (ex: PUT or POST with > > file upload) into the system or does the entire body have to be loaded

[Twisted-Python] twisted.web questions

2010-06-14 Thread Allen Bierbaum
We have a large client-server based application based on twisted. The application has grown to the point where we would like to add a REST-based API to the server side to allow for interfacing with a wider variety of client applications. Over the weekend I started looking into twisted.web and had

[Twisted-Python] Timeout with pb callRemote

2010-01-18 Thread Allen Bierbaum
I just tracked down a bug in one of our servers that uses twisted PB. The long and short of it was that the server made remote calls to clients that connected in and in some cases those clients would fall off the network (disconnected network cable, etc) but the server would not detect this. I tra