[Zope-PAS] plugin webservice

2007-01-24 Thread javi lopez
hello i want to do a plugin to webservice: I put this in my class class ValidatePlugin(BasePlugin, Cacheable): meta_type = 'ValidaPlugin' security = ClassSecurityInfo() def __init__(self, id, title=None): self._id = self.id = id self.title = title

[Zope-PAS] PAS plugin

2007-01-30 Thread javi lopez
hello, i am doing a plugin for pas and i want to define : authenticateCredentials, extractCredentials, doaddUser, etc, i did a file: init.py and nameplugin.py and this file i want to implement those methods. Is it correct? This plugin is to replace login from Plone.Thanks Can i do it???

[Zope-PAS] how??

2007-01-30 Thread javi lopez
i am doing a plugin for pas, i did this method but it don´t work: security.declarePrivate('authenticateCredentials') def authenticateCredentials(self, credentials): Authentication Part login = credentials.get( 'login' ) password = credentials.get( 'password' )

[Zope-PAS] PlonePas and authentification

2007-02-05 Thread javi lopez
hello, thanks for your help. I am a plone portal and I am doing a product, a little plugin to sustitute method authentificate from User Manager. Where can i see this code source and how can I made a new code??? I put this, but it don´t work: def authenticateCredentials(self, credentials):

[Zope-PAS] my PAS plugin

2007-02-08 Thread javi lopez
Hello everyone and thanks for your help! I am doing a plugin for PAS and put on that plugin two methods: authenticatedCredentials and extractCredentials First works ok, but extract don´t work, it is its code: creds = {} login = request.get('__ac_name', '') if login: