Page 1 of 1

zimlet to get userpass

Posted: Thu Jun 18, 2009 9:55 am
by jerryboi
I have a webapp on our intranet that authenticates against zimbra's ldap server. I am writing a simple zimlet that opens the above webapp in a pop-up iframe. I would like to pass username and password to the iframe so that it logs the user in automatically. I have obtained the username as simply as appCtxt.getActiveAccount().name but I can not figure out how to get the password the user typed in to log in to zimbra. Is this at all possible?

zimlet to get userpass

Posted: Thu Jun 18, 2009 10:08 am
by phoenix
Search the wiki for the word 'preauth'.

zimlet to get userpass

Posted: Fri Jun 19, 2009 8:11 am
by jerryboi
TY.
I have already seen that preauth is possible, but I was hoping that I could just find the plaintext passwd in a var and would not need to create a new login page. It is not a big deal though.
Thanks again.

zimlet to get userpass

Posted: Fri Jun 19, 2009 8:22 am
by phoenix
Passwords are not stored in plain text they're encrypted, for obvious reasons.