OK,

Let me see if I get this right, you are using Liferay as your portal. After
you signed in into the portal you want to go to zimbra without loging ? 

If so, did you setup liferay for this scenario ?  

Chris


> [Original Message]
> From: Uday Kari <[EMAIL PROTECTED]>
> To: Abdelmjid HALLOUM <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Date: 5/5/2007 7:02:00 PM
> Subject: RE: about casification
>
> String user = request.getRemoteUser();
>  
> ________________________________
>
> From: Abdelmjid HALLOUM [mailto:[EMAIL PROTECTED]
> Sent: Sat 5/5/2007 12:35 AM
> To: Uday Kari
> Cc: khalid yatim
> Subject: about casification
>
>
> Hello,
> I am now working to implement Single Sign On of my web application
(Zimbra) in a portal (Liferay)
> so when cherching I find your interessting document :
http://www.ja-sig.org/wiki/display/CASC/Using+CASFilter,
> I try to do the some thing :
>
> 1. in my "webapps" web-application i create a jsp page with :
> <%
> String user =
(String)request.getSession().getAttribute("edu.yale.its.tp.cas.client.filter
.user");
> String redirect = generateRedirect(request, user + "@yourdomain"); 
> response.sendRedirect(redirect);
> %>
>
> 2.in <http://2.in/>  my "web.xml" i added CAS Filter :
> <filter>
> <filter-name>CAS Filter</filter-name>
>  <filter-class> edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
> <init-param>
> <param name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
>     <param-value>https://casserver:8443/cas/login</param-value>
> </init-param>
> <init-param>
>         <param-name>edu.yale.its.tp.cas.client.filter.validateUrl
</param-name>
>         <param-value>
https://casserver:8443/cas/proxyValidate</param-value>
> </init-param>
> <init-param>
>        
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
>         <param-value>zimbraserver:80</param-value> 
> </init-param>
> <init-param>
>         <param-name>edu.yale.its.tp.cas.client.filter.wrapRequest
</param-name>
>         <param-value>true</param-value>
> </init-param>
> </filter> 
> <filter-mapping>
> <filter-name>CAS Filter</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
>
> the problem is that :
request.getSession().getAttribute("edu.yale.its.tp.cas.client.filter.user")
returns me NULL value so i can't do redirection into my web-aplication 
>
> Sorry for my bad english !
>
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to