Direct Authentication Link to integrate with external tools

Registered by Matthias Burtscher

I want to access chive in a way like this:

http://localhost/chive/login?host=localhost&user=root&password=secret&database=mydb

This is very nice if I want to implement a direct login to a database.

Blueprint information

Status:
Complete
Approver:
David Roth
Priority:
Low
Drafter:
Matthias Burtscher
Direction:
Approved
Assignee:
Matthias Burtscher
Definition:
Approved
Series goal:
Accepted for 0.4
Implementation:
Implemented
Milestone target:
milestone icon 0.4.2
Started by
Matthias Burtscher
Completed by
Matthias Burtscher

Sprints

Whiteboard

If we change $_POST to $_REQUEST in SiteController, we can perform a direct login using this URL:

(1) http://localhost/chive/trunk/site/login?LoginForm[host]=localhost&LoginForm[username]=root&LoginForm[password]=

Is this an acceptable solution or should the parameter structure be changed to be beautified to

(2) http://localhost/chive/trunk/site/login?host=localhost&username=root&password=

@Matthias: Please beatify the url => solution (2)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.