On Thu, 2009-02-19 at 10:20 +0000, Alan wrote:
>  Hi There,
> 
> 
> 
> 
> We have Plone/Zope site for CMS and users registration. It came before
> django for us. But now we are developing portal applicatons done with
> django (much better to develop and maintain) and we have this question
> now: how to allow a user to login in django portal using his/her login
> and pass from Plone, including new users that would register at Plone
> and then access to django portals automatically.
>  
> 
> 
> Any idea here would be very appreciated.

Have a read of the documentation about writing custom authentication
backends:
http://docs.djangoproject.com/en/dev/topics/auth/#other-authentication-sources

Django requires that a User object exists for each user, regardless of
the authentication backend, so you need to remember to create such an
object. You could do that when they are added to the master system, or
do it at the initial login time if they succeed and don't already exist.


Regards,
Malcolm




--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to