Opened 19 years ago
Closed 16 years ago
#70 closed enhancement (fixed)
Have the Account Manager be able to use a RDBMS for login authorization
Reported by: | Eddie Parker | Owned by: | Matt Good |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Gunnar Wagenknecht, trac.eddieparker@…, Lukáš Lalinský, cooldown@…, me@… | Trac Release: | 0.8 |
Description
Hey!
I was on the IRC channel with mgood earlier, and he said that due to the volume of people wishing for the Account Manager to do authorization against a DB using a login form, he'd go ahead and do this. :)
As such, I thought I'd write a ticket so I can find out when it's done so I can integrate it. :)
If I'm to understand correctly, this would involve:
- Have the 'Login' link prompt you for a username password
- Have the backend verify against an RDBMS that you somehow specify.
Obviously feel free to correct my assumptions here, or kill this ticket if you were drunk when you promised this feature (although it would make me rather sad. :)).
Attachments (2)
Change History (11)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
Changed 19 years ago by
Attachment: | database.py added |
---|
Component to store user accounts in the database.
comment:2 Changed 19 years ago by
Cc: | Lukáš Lalinský added |
---|
Attached some code to store user names and SHA-encoded passwords in the database.
Changed 19 years ago by
Attachment: | database-cc.py added |
---|
database.py by Charlie Clark (out of date)
comment:3 Changed 19 years ago by
I've moved the database.py from the AccountManagerPlugin pagae to here for reference purposes. It no longer works and the one by luks should be used instead I would think.
comment:4 Changed 19 years ago by
Cc: | cooldown@… added |
---|
comment:5 Changed 19 years ago by
Cc: | Eddie Parker removed |
---|---|
Trac Release: | → 0.8 |
comment:6 Changed 19 years ago by
Cc: | trac.eddieparker@… added |
---|
comment:7 Changed 19 years ago by
Cc: | Gunnar Wagenknecht added |
---|
comment:8 Changed 18 years ago by
Cc: | me@… added |
---|
comment:9 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I think that this ticket has been satisfied by the SessionStore password store. Additionally, Account Manager has a well defined API for creating password stores to go against other databases. Examples of these are PhpBbAuthPlugin and TgAuthPlugin
The form-based authentication is implemented in [132] and [133], but the DB password storage is not yet supported.
To use form authentication the default Trac authentication handler will need to be disabled in
trac.ini
like: