hello I want to do it this:
a plugin for PAS to validate users, i put user and password and if user is a
correct user, log in plone.
class ValidaPlugin(BasePlugin, Cacheable):
meta_type = 'ValidaPlugin'
security = ClassSecurityInfo()
def __init__(self, id, title=None):
self._id
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('lo
hello thanks for your help.
I am doing a new pluging for PAS, I need take users and login for
Plone. To do it, i did this class:
class ValidaPlugin(BasePlugin):
""" PAS plugin
"""
uservar = 'X_REMOTE_USER'
meta_type = 'ValidaPlugin'
security = ClassSecurityInfo()
_properties =
hello and thanks for your help
I want to sustitute authentificateCredentials for this plugin i made.
It take users from ZODB and validate if user exists and so user can
login in Plone.
can´t I do one product pluging for PAS with one init.py and one
ProductName.py where this method is implements fo
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:
#
i did a plugin for authenticated and extractCredentials, but it don´t
save session so it is how if user isn´t validate.
Can i save session for user authenticated?
Thanks for your help!!!
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/li
2007/2/13, Maciej Wisniowski <[EMAIL PROTECTED]>:
> i did a plugin for authenticated and extractCredentials, but it don´t
> save session so it is how if user isn´t validate.
> Can i save session for user authenticated?
What do you mean by 'save session'?
--
Maciej Wisniowski
Sorry my english
i did it, but it don´t work,
def extractCredentials(self, request):
creds = {}
login = request.get('__ac_name', '')
if login:
# Look in the request for the names coming from the login form
login = request.get('__ac_name', '')
password = request.get(
I´m doing a form with username and email, these values go script
python and with a zsql method inside script, it stored in DB
I have a zpt with a form
I have a script python::
Connection DB::
db_system_type = REQUEST.get('db_system_type', 'mysql')
from Products.ZMySQLDA import DA
DA.manage_addZMy
how to create a database connection in a script python
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
htt
my database is Mysql. can you help me?Thanks
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.
hello:
how to call exthernal method from script python in zope
Thanks..
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/
hello everyone:
how to create a query(mysql) inside script python
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-a
Hello everyone and thaks for your help:
I have this things:
Zdatabase Conection
zsql method
Controller page template(form)
Controller python script(call zsql method)
controller validator
page template
it´s a form, it stores email and comments in database and it works. I
need put all this inside
hot to do a filesystem Z MySQL database connection?
Thanks everyone
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-anno
Hello everyone:
I did a form and i need a validator email address (controller validator)
can you help me?
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://m
16 matches
Mail list logo