hello and thanks for your help.. I did a plugin for PAS and iwant to read the users from de acl_users to validate and i did this: def authenticateCredentials(self, credentials): """ Authentication Part """ acl = self.getUserFolder() // Is this ok? login = credentials.get('login', '') password = credentials.get('password', '') if not acl or not login or not password: return (None, None) user = acl.getUser(login) if user is None: return (None, None) elif user and (user.getPassword() == password): return ( user.getId(), login ) return (None, None) But it don´t work. Can you help me??? how can i do it??
Please, stay on list :) --repost start------------------------------------------------------------------------
hello and thanks for answer me. My plugin don´t work. I try put a user and password in plone, but it say me Error. I put the same than CAS but it don´t work too. Any idea?Thanks --repost end------------------------------------------------------------------------ My plugin don´t work. I try put a user and password in plone, but it say me Error. And the 'Error' is ... !?
I'm not sure but isn't plone using modified version of PAS (Plone PAS)? Maybe it is something because of that. I've found plugin for plone that you may want to analyze: http://plone.org/products/ip-range-pas-plugin. In general what is your plugin supposed to do?? -- Maciej Wisniowski
participants (2)
-
javi lopez -
Maciej Wisniowski