spacedman wrote:
> 
> ashwoods wrote:
>> does anybody have experience of sharing session information from a
>> plone site. I want our intranet users that are authenticaded in plone
>> to be able to access django without having to relog.
> 
>  Haven't done this directly, but what you'd have to do is get the __ac
> cookie that plone uses for sessions and use that.
> 
>  So, your django site would have to be on the same domain as your plone
> site.
> 
>  Then your django code would get the __ac cookie from the request.
> 
>  Then it would have to use something in the zope/plone API to get the
> username.
> 
>  Tricky bit would be talking to zope - I'm not sure how deep in the
> zope authentication system you'd have to go. It might be something we'd
> want to do on our site, so I might ponder it more later. If you get any
> ideas yourself, share them!
> 
> Barry
> 
> 
> > 
> 
Ola,
the Plone site says that Plone 2.5 uses a:

Pluggable Authentication Service
    The new authentication structure in Plone 2.5 makes it very easy to
integrate any kind of authentication with Plone.  Roles, groups,
authentication, and user data are all managed with separate plugins, and
each can potentially get its data from a different source.  This offers
integrators substantial flexibility.  Plugins for LDAP and GMail (!)
already exist, and more are easily added.

there is an example of the GMail plugin here:
http://plone.org/products/gmailauthplugin

which is very simple and and can be used as a learning tool or even a
template.
If you do write something for Django send it to the list
[]'s

-- 
Ian Lawrence
Centre for Bioinformatics
INSTITUTO NACIONAL DE PESQUISAS DA AMAZÔNIA-INPA
RUA ANDRÉ ARAÚJO N º .2936 , BAIRRO DO ALEIXO
MANAUS-AMAZONAS-BRAZIL
Research Program in Biodiversity
http://ppbio.inpa.gov.br
PHONE: 055-92-3643-3358
CEP. 69011 -970

| Please do not send me documents in a closed
| format.(*.doc,*.xls,*.ppt)
| Use the open alternatives. (*.pdf,*.html,*.txt)
http://www.gnu.org/philosophy/no-word-attachments.html

"We are all in the gutter, but some of us are looking at the stars."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to