Case Insensitive Zope Authentication
Hi, Does someone know how to allow zope authentication to be case insensitive? Thanks Remy
Remy Pinsonnault wrote:
Hi,
Does someone know how to allow zope authentication to be case insensitive?
Thanks
Remy _______________________________________________ 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.org/mailman/listinfo/zope-dev )
Hi Remy, You might take a look at "The Book of Zope" by beehive. Its got a few chapters explaining how users are managed and you could create your own USERID/Password form and then force uppercase before calling acl_users.manage_users( ... ). David
David Hassalevris wrote:
Remy Pinsonnault wrote:
Hi,
Does someone know how to allow zope authentication to be case insensitive?
Thanks
Remy _______________________________________________ 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.org/mailman/listinfo/zope-dev )
Hi Remy,
You might take a look at "The Book of Zope" by beehive. Its got a few chapters explaining how users are managed and you could create your own USERID/Password form and then force uppercase before calling acl_users.manage_users( ... ).
David
Remy, Actually my last post wasnt a very good suggestion. So I will suggest you look at SimpleUserFolder and then you can gain total control over creating users and authenticating them. Maybe some else will suggest of alternate ways to do what you ask. David
ok David thanks, In fact maybe I am on the wrong list because I want to authenticate users on a Plone site. Your idea is not bad to create all users in uppercase and then I would have to pass the username in the login_form with an uppercase too. But I dont know in which Plone script/form to do the uppercase... Remy On Mon, 21 Feb 2005 16:07:31 -0800, David Hassalevris <bluepaul@earthlink.net> wrote:
David Hassalevris wrote:
Remy Pinsonnault wrote:
Hi,
Does someone know how to allow zope authentication to be case insensitive?
Thanks
Remy _______________________________________________ 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.org/mailman/listinfo/zope-dev )
Hi Remy,
You might take a look at "The Book of Zope" by beehive. Its got a few chapters explaining how users are managed and you could create your own USERID/Password form and then force uppercase before calling acl_users.manage_users( ... ).
David
Remy, Actually my last post wasnt a very good suggestion. So I will suggest you look at SimpleUserFolder and then you can gain total control over creating users and authenticating them.
Maybe some else will suggest of alternate ways to do what you ask.
David
Remy Pinsonnault wrote:
Your idea is not bad to create all users in uppercase and then I would have to pass the username in the login_form with an uppercase too. But I dont know in which Plone script/form to do the uppercase...
SimpleUserFolder should work just fine with Plone, and will give you what you really want not some clunky hack ;-) If you have problems, drop me an email... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
If it interest someone, I fixed the problem doing : onkeyup="javascript:this.value=this.value.toLowerCase();" on the usernames and password of the login_form and portlet_login. Not too elegant but works fine... Thanks Remy On Tue, 22 Feb 2005 19:45:39 +0000, Chris Withers <chris@simplistix.co.uk> wrote:
Remy Pinsonnault wrote:
Your idea is not bad to create all users in uppercase and then I would have to pass the username in the login_form with an uppercase too. But I dont know in which Plone script/form to do the uppercase...
SimpleUserFolder should work just fine with Plone, and will give you what you really want not some clunky hack ;-)
If you have problems, drop me an email...
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
David Hassalevris -
Remy Pinsonnault