Re: auth and auth

2008-11-26 Thread Florent Aide
On Tue, Nov 25, 2008 at 8:55 PM, Dalius Dobravolskas [EMAIL PROTECTED] wrote: Hello, On Tue, Nov 25, 2008 at 1:47 PM, Gustavo Narea [EMAIL PROTECTED] wrote: [...] repoze.who's approach is elegant because it has broken up the various components involved in authentication (the so-called

Re: auth and auth

2008-11-26 Thread Uwe C. Schroeder
On Tuesday 25 November 2008, Dalius Dobravolskas wrote: On Wed, Nov 26, 2008 at 8:54 AM, Uwe C. Schroeder [EMAIL PROTECTED] wrote: What is it you want to achieve with this crusade? More popularity? I guess all you'll get is annoyed core developers. I don't care about popularity at all. If

Re: auth and auth

2008-11-26 Thread Dalius Dobravolskas
So what is it you want to understand? That the one thing is basically the same as the other? Result is the same. Not the way it is reached. I try to understand why different way was chosen. I think repoze.who's way is named Component programming. However all I got is: 1) Good Gael's example

error:XMLRPCController?

2008-11-26 Thread crown.hg
faultCode 0 faultString Traceback (most recent call last): File /home/ crown/projects/xscripter/xscripter/lib/base.py, line 33, in __call__ return XMLRPCController.__call__(self, environ, start_response) File / usr/lib/python2.6/site-packages/Pylons-0.9.7rc3-py2.6.egg/pylons/

Re: auth and auth

2008-11-26 Thread Dalius Dobravolskas
Hi, On Wed, Nov 26, 2008 at 12:31 PM, sector119 [EMAIL PROTECTED] wrote: Dalius, how can I authenticate user with your middleware if can't use cookies/sessions? For example I use XMLRPCController and I need to authenticate user, and authorize some controller actions, I have

Re: auth and auth

2008-11-26 Thread Dalius Dobravolskas
Hi, 2) Rip off basic http auth middleware from AuthKit. That shouldn't be very hard; 3) Or just use middlewares from paste.auth.basic or paste.auth.digest; -- Dalius http://blog.sandbox.lt --~--~-~--~~~---~--~~ You received this message because you are

Re: error:XMLRPCController?

2008-11-26 Thread crown.hg
thank's reply s = xmlrpclib.ServerProxy('http://www.xscripter.com:5000/rpc/userstatus') s.s.userstatus() 'basic string' url = 'http://www.xscripter.com:5000/rpc/userstatus' thi's ok, why? On Nov 26, 9:57 am, Dalius Dobravolskas [EMAIL PROTECTED] wrote: Hi, On Wed, Nov 26, 2008 at 11:38

Re: error:XMLRPCController?

2008-11-26 Thread Dalius Dobravolskas
On Wed, Nov 26, 2008 at 3:38 PM, crown.hg [EMAIL PROTECTED] wrote: thank's reply s = xmlrpclib.ServerProxy('http://www.xscripter.com:5000/rpc/userstatus') s.s.userstatus() 'basic string' url = 'http://www.xscripter.com:5000/rpc/userstatus' thi's ok, why? I can't say if it is OK without

Re: auth and auth

2008-11-26 Thread sector119
Dalius, how can I authenticate user with your middleware if can't use cookies/sessions? For example I use XMLRPCController and I need to authenticate user, and authorize some controller actions, I have system.login(username, password) function that return some auth token. Thanks!

Re: auth and auth

2008-11-26 Thread sector119
Dalius, what for is ``app`` def ? 7 def authorize(function=None): 8 9 This is a decorator which can be used to decorate a Pylons controller action. 10 It gives function ``function`` environ dictionary and executes it. Function 11 should return either True

Re: auth and auth

2008-11-26 Thread Dalius Dobravolskas
On Wed, Nov 26, 2008 at 12:36 PM, sector119 [EMAIL PROTECTED] wrote: Dalius, what for is ``app`` def ? 7 def authorize(function=None): 8 9 This is a decorator which can be used to decorate a Pylons controller action. 10 It gives function ``function`` environ

Re: error:XMLRPCController?

2008-11-26 Thread crown.hg
thank your replay my test s = xmlrpclib.ServerProxy('http://www.xscripter.com:5000/rpc') print(s) ServerProxy for www.xscripter.com:5000/rpc s.system.listMethods() Traceback (most recent call last): File pyshell#101, line 1, in module s.system.listMethods() File

Re: auth and auth

2008-11-26 Thread Mike Orr
On Tue, Nov 25, 2008 at 11:39 PM, Dalius Dobravolskas [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 8:54 AM, Uwe C. Schroeder [EMAIL PROTECTED] wrote: What is it you want to achieve with this crusade? More popularity? I guess all you'll get is annoyed core developers. I don't care about

Re: error:XMLRPCController?

2008-11-26 Thread Dalius Dobravolskas
Hi, On Wed, Nov 26, 2008 at 11:38 AM, crown.hg [EMAIL PROTECTED] wrote: faultCode 0 faultString Traceback (most recent call last): File /home/ crown/projects/xscripter/xscripter/lib/base.py, line 33, in __call__ return XMLRPCController.__call__(self, environ, start_response) File /

subdomain like blogspot

2008-11-26 Thread Krishgy
Hi All, I want to setup the sub-domain for the users who joins newly to the site. The concept is almost like the blogspot.com. So I need to handle the request to the site like below. newuser.example.com example.com/newuser How to do this in pylons? Regards, Krish http://dealmer.blogspot.com

repoze.what -- Authorization for WSGI applications

2008-11-26 Thread Gustavo Narea
Hello, everybody. I'm writing to let you know about the authorization framework I have been working on, repoze.what: http://static.repoze.org/whatdocs/ Some of its features are: * Web framework independent. * Authorization only. It will only do authorization and nothing else. * _Highly_

Re: Configuring https connection

2008-11-26 Thread Lawrence Oluyede
On Wed, Nov 26, 2008 at 11:59 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way to do that simply or do I need to make a new site and redirect the link myBasket to this new site ? I think it's not Pylons's jobs to handle the HTTPS/SSL thing. You should implement your web