cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco <> Zimbra integration

darkblack
Champ in-the-making
Champ in-the-making
We have successfully integrated ldap for login so what users can login to alfresco using their mail/zimbra credentials. We now want the user to click on a link say "email" on the alfresco navigation and be taken to their zimbra inbox without being logged in. To do this, I understand that we need to use Zimbra's existing Preauth functionality http://wiki.zimbra.com/wiki/Preauth to achieve what is required. But to implement preauth looks like there will be some basic coding required (to create the hashes etc). I searched this forum to see if somebody has done this before but results came negative? Are their any extensions or addons already created and donated to the community which can do this? Any help will be greatly appreciated. Thanks!
6 REPLIES 6

darkblack
Champ in-the-making
Champ in-the-making
Well, it’s not difficult. I did not install the zimlets and I guesss they are not required for my requirement (I guess). My requirement is for the user to click on a link in alfresco header and be redirected to their zimbra inbox

I tried http://wiki.zimbra.com/wiki/Preauth#PHP_Code_For_Redirecting_to_Zimbra_Preauth , and the PHP code works perfectly. Just need to send the user and domain via URL and it automatically logs the user in and redirects user to their zimbra inbox

There is a JSP version of the code available in the wiki as well http://wiki.zimbra.com/wiki/Preauth#Sample_preauth.jsp and it works in the same way as the PHP code. So now the only thing I require is to build a URL say http://www.mysite.com/preauth.jsp?user=darkblack&domain=site.com when user clicks on the link the preauth.jsp will take care of the rest. Ofcourse darkblack@site.com is the logged in alfresco users' email address. Any code help with alfresco API to read a logged in users email address and build a URL such as this? Any help will be greatly appreciated



darkblack
Champ in-the-making
Champ in-the-making
dug further and realized that adding a new link in the header is just about share-config.xml . I was able to edit and add links. But now the only problem is what tag/variable must be added as a part of the link to display the logged in users email address? I tried usr.properties["cm:email"] but does not seem to work. Any help?

darkblack
Champ in-the-making
Champ in-the-making
Any Help? Thanks

damucksta
Champ in-the-making
Champ in-the-making
Sorry, I can't answer your question but I would be really grateful if you'd let me know how you got alfresco to authenticate from Zimbra's LDAP.

darkblack
Champ in-the-making
Champ in-the-making
Alfresco out of the box supports ldap authentication right? Our n/w resource could do it reading the alfresco documentation.