Op 05-10-10 17:16, toutpt schreef:
>
> Hi,
>
> I'm trying to develop a simple sugarcrm pas plugin for Plone. code is
> available here:
>
> http://svn.plone.org/svn/collective/collective.sugarcrm/trunk/collective/sugarcrm/pasplugin.py
>
> The authentication is working. but @@dashboard failed on unauthorized
> exception. If create Member area is on, authentication failed because of
> membership tool getMemberById call that return None.
>
> So what interfaces I must implements to have something working with Plone.
> Do I need to store, synchronize things or whatever ?

You handle the IAuthenticationPlugin already.  I would expect the 
IExtractCredentials plugin as well, but perhaps the credentials 
extracted by the standard Plone PAS plugins already work fine for you.

I can imagine that the @@dashboard view is only available for Members 
and that your plugin only makes someone Authenticated.

When I work on a PAS plugin and am in the debugging phase, I usually 
make sure the zope instance shows me debugging information:

   [instance]
   event-log-level = debug

Rerun bin/buildout, start the instance in the foreground, and prepare to 
get more logging thrown at you than you want to handle. ;-)


Just some thoughts...

-- 
Maurits van Rees
Programmer, Zest Software

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to