Massimo I think the username is not an email, is just the standard way 
of accessing url with basic auth, isn't it?
http://  username : password @ domain : port / uri

alex

El 30/12/2009 15:25, mdipierro escribió:
> That probably will not work since it is not what was designed for.
> I am not sure why it did not work thou.
> If the username is the email, did you escape it?
>
> On Dec 30, 1:16 am, David Marko<dma...@tiscali.cz>  wrote:
>    
>> I simply tried to call the method with URLcontaining the username/
>> password. e.g. tttp://username:p...@localhost:8080/....  . Its just
>> internal call so its fine that username/pwd is in URL. I simply tried
>> this in browser, but login form apeared instead.
>>
>> David
>>
>> On Dec 29, 10:25 pm, mdipierro<mdipie...@cs.depaul.edu>  wrote:
>>
>>      
>>> The allow basic login allows you to call functions that
>>> @auth.requires_login() by passing the credential using basic auth for
>>> example call the url using wget and curl.
>>>        
>>      
>>> How are you using it?
>>>        
>>      
>>> On Dec 29, 2:59 pm, David Marko<dma...@tiscali.cz>  wrote:
>>>        
>>      
>>>> How the settings 'auth.settings.allow_basic_login = True' is supposed
>>>> to work? I tried to login to protected method('....@auth.requires_login
>>>> ()') via basic auth, but was not succesfull. Is there some additional
>>>> setting for protected methods or '....@auth.requires_login()'' is simply
>>>> used for both auth ? Can someone explain please?
>>>>          
>>      
>>>> David
>>>>          
>>
>>      
> --
>
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>
>
>    

-- 
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to