I have a self created administration panel for other modules that I have created, I would like to integrate a button or some such that allows the user to merely click on it, then automatically be logged in as an administrator for wordpress when need be.
Since they will already be authenticated via a system I have created I think that this will be sufficient.
I have thought of a couple ways of tackling this. First is to submit POST data when the user click on the icon/link, the other is to store the username and password in a $_SESSION variable and change wp_authenticate to look for session variables instead.
What is the most intellegent thing to do security wise? Anyone else encounter this problem and have a solution? Please let me know what you think :).
Also responses that just include google searches/wordpress forum search terms would be sufficient as well.