Zope Labs EuroZope ZDP Integrating LoginManager with an SQL database is generally done using the GenericUserSource that comes with LoginManager. ZPatterns has evolved since GenericUserSource was created and some of the design decisions made in the GUF days don't fit the current ZPatterns model as well as they might. User Authentication with LoginManager and GenericUserSource With GenericUserSource all the action happens in SQL and DTML methods in the user folder.
User information is passed in as arguments.
Thus, the Rack knows too much about the application for my tastes. It doesn't know how authentication is done, but it does know that it has to handle it by calling a method in the specialist. SkinScript claims to make all of this very simple, so I decided to try it out. The good news is that it really is simple. I don't expect it to be hard to add the needed additional features once the basic questions are worked out.