Modify

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)

database.py (4.4 KB) - added by Lukáš Lalinský 19 years ago.
Component to store user accounts in the database.
database-cc.py (3.4 KB) - added by Alec Thomas 19 years ago.
database.py by Charlie Clark (out of date)

Download all attachments as: .zip

Change History (11)

comment:1 Changed 19 years ago by Matt Good

Status: newassigned

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:

[components]
trac.web.auth.LoginModule = disabled

Changed 19 years ago by Lukáš Lalinský

Attachment: database.py added

Component to store user accounts in the database.

comment:2 Changed 19 years ago by Lukáš Lalinský

Cc: Lukáš Lalinský added

Attached some code to store user names and SHA-encoded passwords in the database.

Changed 19 years ago by Alec Thomas

Attachment: database-cc.py added

database.py by Charlie Clark (out of date)

comment:3 Changed 19 years ago by Alec Thomas

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 anonymous

Cc: cooldown@… added

comment:5 Changed 19 years ago by anonymous

Cc: Eddie Parker removed
Trac Release: 0.8

comment:6 Changed 19 years ago by anonymous

Cc: trac.eddieparker@… added

comment:7 Changed 18 years ago by Gunnar Wagenknecht

Cc: Gunnar Wagenknecht added

comment:8 Changed 18 years ago by anonymous

Cc: me@… added

comment:9 Changed 16 years ago by John Hampton

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.