[Grok-dev] Authenticated user credentials

Lumir Jasiok lumir.jasiok at vsb.cz
Mon Nov 15 03:39:15 EST 2010


On 11/12/10 9:14 AM, Shrek Zhou wrote:
> Hi, Lumir,
> You can get the principal for current request using request.principal in
> your view.
>
>
> Lumir Jasiok wrote:
>> Hi,
>>
>> how can I get authenticated user credentials inside of app.py? I am
>> little bit confused with Grok authentication mechanism.
>>
>> Best Regards
>>
>> Lumir
>>
>> -- 
>>    Lumír Jasiok
>>    VSB-TU Ostrava - Computer centre
>>    Tel: +420 59 732 3189
>>    E-mail: lumir.jasiok at vsb.cz
>>    http://www.vsb.cz
>>
>> _______________________________________________
>> Grok-dev mailing list
>> Grok-dev at zope.org
>> https://mail.zope.org/mailman/listinfo/grok-dev
>>
>>
Thanks. Inside of View it works, but how can I use it inside of Application?

Lumir

-- 
  Lumír Jasiok
  VSB-TU Ostrava - Computer centre
  Tel: +420 59 732 3189
  E-mail: lumir.jasiok at vsb.cz
  http://www.vsb.cz



More information about the Grok-dev mailing list