<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Bakhtiar A Hamid wrote:
<blockquote
cite="mid9284028b0601191946n5a198184scef354f77250801e@mail.gmail.com"
type="cite"><br>
<br>
<div><span class="gmail_quote">On 1/20/06, <b
class="gmail_sendername">John Huttley</b> <<a
href="mailto:John@mib-infotech.co.nz">John@mib-infotech.co.nz</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sorry
should have added its zope 2.8 under windows<br>
<br>
--john<br>
<br>
John Huttley wrote:<br>
> Hi, I'm recoding an existing php e-commerce app in zope as my first<br>
> project<br>
><br>
> I'm at the point where I've installed the exUserFolder product to
<br>
> authenticate against an external SQL database.<br>
><br>
> However, I need to hold some additional information in the user
object.<br>
><br>
> It seems to me that I have to change the exUserFolder product code
to
<br>
> add this to the class.<br>
></blockquote>
<div><br>
<br>
check out authentication source. also, check out all the docs in the
xuf ta ball. iirc, there's a faq for this..<br>
<br>
hth<br>
</div>
<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>
This seems odd and not very maintainable.<br>
><br>
> There are brains for sql, I'm wondering if there are better ways
for
<br>
> doing this?<br>
><br>
> Any advice gratefully received.<br>
><br>
> --john<br>
></blockquote>
</div>
</blockquote>
I use SimpleUserfolder to authenticatate against postgres. Its easy to
add addional user information. Heres a short version of how this
similar product works:<br>
a) you store authentication data in an SQL table (or anywhere thats
persistent).<br>
b) you write a handful of scripts to satisfy Zope's authentication
machinary (examples are provided).<br>
c) you can obtain additional user information by calling your SQL
tables with userID, eg obtain their phone, fax and socials - or right
after authentication you can stuff the users details into SESSION.<br>
<br>
<br>
David<br>
<br>
<br>
David<br>
<br>
</body>
</html>