Tuesday, July 06, 2004
Done! Well, some of it at least.
db_dev contains the new structures and I've got a script to replicate them to the live servers.
There's a new API call to loginByPartnerId(int nPartnerId, int nClientId, String svMD5);
login_partner.jsp decodes appropriate parameters and calls the API to log you in.
I've set up db_dev with xdev as a G partner and added a new member for that account with member-type "partner".
testapi contains a link to log you in. Each partner has a separate shared secret - to calculate the MD5 you append the secret to the client id and encode the result. I'm re-using our token hasher, which agrees with the GNU implementation.
T