zimlet to get userpass

Interested in talking about Mash-up's? This is the place.
jerryboi
Advanced member
Advanced member
Posts: 125
Joined: Fri Sep 12, 2014 10:09 pm

zimlet to get userpass

Postby jerryboi » Thu Jun 18, 2009 9:55 am

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?


phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

zimlet to get userpass

Postby phoenix » Thu Jun 18, 2009 10:08 am

Search the wiki for the word 'preauth'.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
jerryboi
Advanced member
Advanced member
Posts: 125
Joined: Fri Sep 12, 2014 10:09 pm

zimlet to get userpass

Postby jerryboi » Fri Jun 19, 2009 8:11 am

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.
phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

zimlet to get userpass

Postby phoenix » Fri Jun 19, 2009 8:22 am

Passwords are not stored in plain text they're encrypted, for obvious reasons.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra

Return to “Zimlets”

Who is online

Users browsing this forum: No registered users and 1 guest