Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Armand Beuvens
Web Proxy Portlet + CAS
October 25, 2012 8:37 AM
Answer

Armand Beuvens

Rank: New Member

Posts: 1

Join Date: October 17, 2012

Recent Posts

Hello all,

I try to integrate a web application which uses Jasig CAS in a Web Proxy Portlet with Liferay 6.1. My Liferay is also protected by CAS. After a user logged on Liferay using CAS, it should be also logged on the web application embedded in the Web Proxy Portlet. But it does not work: the web application in the portlet redirects each time the user to the login page of CAS. If I use an IFRAME portlet, it works but I want to use a Web Proxy Portlet to avoid the drawbacks of IFRAME. Did someone succeed to use CAS in a Web Proxy Portlet in Liferay 6.1?
I tried also to use the Web Proxy Portlet from Jasig (https://wiki.jasig.org/display/PLT/WebProxy) in Liferay but I was not able. To use CAS with this portlet, it requires a casProxyTicket but I don't know how I can obtain a casProxyTicket from Liferay. Was someone able to use the Jasig Web Proxy Portlet with Liferay?

Thanks.
Rob MacKay
RE: Web Proxy Portlet + CAS
February 5, 2013 7:22 AM
Answer

Rob MacKay

Rank: New Member

Posts: 1

Join Date: July 28, 2008

Recent Posts

This would be caused by the nature of proxy relationships between the portal and the integrated system.

The CAS security of the system you want to integrate does not see the token because the request is not coming from the browser but instead is coming from the portal server to your application. the Web Proxy works to bring in content but if you want clean SSO with the app you need to use CAS Proxy ticketing to create a CAS token for authentication when the portal server is proxying the request for the user.

this wiki page at Jasig should give you more insight: https://wiki.jasig.org/display/CAS/Proxy+CAS+Walkthrough