
March 24, 2005
7:22 p.m.
Xif wrote:
1) to authenticate users (from a form with a "username" and a "password" field) based on data stored in a database.
nevow.guard, twisted.cred
2) after authentication is performed, the user is sent to a URL based on some of the data from the database. For example, if the database query revealed him to be named "John Smith", he shall be refered to http://appserver.com/JohnDoe. Subsequently, he should remain at this URL, and all links should refer to addresses "below" his personal address. For example, http://appserver.com/JohnDoe/configuration, http://appserver.com/JohnDoe/mail, etc.
Make the Realm return url.here.child(avatarID) to redirect to the username.