[geeklog-devel] GL2 Login works
tony at tonybibbs.com
Wed Dec 22 00:06:43 EST 2004
Good question. I think so, so far I've simply been using file-based
sessions. I should dust that code off...it's pretty small so I don't
see a problem in using i.
Vincent Furia wrote:
>Slightly off topic, but do we plan to still use the
>PEAR::HTTP_Session2 class(es) for session management?
>On Mon, 20 Dec 2004 15:51:21 -0600, Tony Bibbs <tony at tonybibbs.com> wrote:
>>Pretty soon here I will be checking in a version of Geeklog 2 which
>>successfully authenticates a user. I have taken care to factor the code
>>in such a way that the means by which one manages a user account can be
>>changed by simply implementing one class and changing a setting in the
>>Being that noone has looked into the code yet (hint, hint) I'll take
>>this time to discuss the basic design:
>>The most basic part of the account management equation is the
>>Geeklog_AccountManager (in AccountManager.php). It's job is to read the
>>Account Manager it needs to create from a value in the configuration
>>file ($glConf['account_manager']), and generate an instance of that
>>class which is responsible for doing the work.
>>All account managers must implement the Geeklog_AccountManagerInterface
>>(AccountManagerInterface.php) which provides methods for creating
>>accounts, deleting accounts, authenticating users and changing
>>passwords. Other method will probably be added to this interface (i.e.
>>update account, etc) but I won't bother with them until we establish the
>>As such, I have created default AccountManager...named
>>Geeklog_DefaultAccountManager in DefaultAccountManager.php (see the
>>All this said, one could, for example, create a LDAPAccountManager,
>>IMAPAccountManager, etc to have GL2 authenticate to any datastore. I'd
>>like to see LDAP and IMAP bundled in with GL2 (any takers?).
>>So, have a look in CVS and let me know what you do/don't like about what
>>I have so far.
>>geeklog-devel mailing list
>>geeklog-devel at lists.geeklog.net
>geeklog-devel mailing list
>geeklog-devel at lists.geeklog.net
More information about the geeklog-devel