Thursday, February 17, 2011

Zimbra authentication preauth in Ruby


In one of our project, we have integrated Zimbra Collabration Server. It’s an email and calendar server plus much more; think about it like a next-generation Microsoft Exchange server. In addition to email and calendar, it provides document storage and editing, instant messaging, and simplified administrative controls all in an award winning webmail user interface built with the latest AJAX web technology. ZCS also provides mobility and syncs to desktop client applications; the server is deployed on commodity Linux and Mac server hardware.

Previosuly it was part of Yahoo, now it is part of Vmware.

Zimbra provides two types of authentication mode for single sign on,
1. URL based
2. SOAP based

The concept behind this is same is to generate pre authentication token called preauth.

As we have integrated into ruby on rails application, I have wrote a code for generate preauth.
Following is link for same.

http://wiki.zimbra.com/wiki/Preauth#Sample_Ruby_code_for_computing_the_preauth_value

No comments:

Post a Comment