This can be done with the SOAP api. You'd need the username and password then get use the authrequest to get an auth token. Set this as a cookie and redirect the user. There is also SOAP api's available to change passwords etc. They are all documented in ZimbraServer/docs/soap*.txt in the source downloads. |