Hello all,

I have setup Liferay to use Zimbra's LDAP installation as its auth source. I am now trying to get SSO working from within Liferay using an iframe. It appears I need to use preauth to get this to work, and thus have poked around its documentation and also a wiki article regarding "CASifying Zimbra". The preauth documentation has an example that has a static username which is not going to work for me. I need to have Liferay pass the user to it properly so preauth can construct the proper URL. Seems like this should be easy but I do not know how to go about it. In the CASifying Zimbra article, it shows this line of code which appears to be how it gets its username:

String user = (String)request.getSession().getAttribute("edu.yal e.its.tp.cas.client.filter.user");

What would I do to get this to grab the username from its own LDAP installation as it is utilized from Liferay.

Thanks for your help on this!

- Scott