<!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> &lt;<a
 href="mailto:John@mib-infotech.co.nz">John@mib-infotech.co.nz</a>&gt;
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>
&gt; Hi, I'm recoding an existing php e-commerce app in zope as my first<br>
&gt; project<br>
&gt;<br>
&gt; I'm at the point where I've installed the exUserFolder product to
    <br>
&gt; authenticate against an external SQL database.<br>
&gt;<br>
&gt; However, I need to hold some additional information in the user
object.<br>
&gt;<br>
&gt; It seems to me that I have to change the exUserFolder product code
to
    <br>
&gt; add this to the class.<br>
&gt;</blockquote>
  <div><br>
  <br>
check out authentication source.&nbsp; also, check out all the docs in the
xuf ta ball.&nbsp; 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;">&gt;
This seems odd and not very maintainable.<br>
&gt;<br>
&gt; There are brains for sql, I'm wondering if there are better ways
for
    <br>
&gt; doing this?<br>
&gt;<br>
&gt; Any advice gratefully received.<br>
&gt;<br>
&gt; --john<br>
&gt;</blockquote>
  </div>
</blockquote>
I use SimpleUserfolder to authenticatate against postgres.&nbsp; Its easy to
add addional user information.&nbsp; 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>