hello I want to do it this:<br><br>a plugin for PAS to validate users, i put user and password and if user is a correct user, log in plone.<br><br>class ValidaPlugin(BasePlugin, Cacheable):<br> <br> meta_type = 'ValidaPlugin'
<br> security = ClassSecurityInfo()<br><br> def __init__(self, id, title=None):<br> self._id = <a href="http://self.id">self.id</a> = id<br> self.title = title<br><br> security.declarePrivate('authenticateCredentials')
<br> def authenticateCredentials(self, credentials):<br> """ Autentificacion """<br> <br> login = credentials.get( 'login' )<br> password = credentials.get
( 'password' )<br><br> if login is None or password is None:<br> return None<br> <br> <br> return login, login<br><br><br>is correct?? Thanks