Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sampath Chandana
Liferay Single Sign Out with CAS
January 15, 2012 9:47 AM
Answer

Sampath Chandana

Rank: New Member

Posts: 2

Join Date: January 15, 2012

Recent Posts

I am using jasig cas as SSO system. I have configured it and Single Sign on is working properly. But problem is Single Sign out is not working in liferay. I can see CAS sends logout request to /c/portal/login url. But it doesn't invalidate session and still user can work in life ray with previous login. I have configured portal-ext.properties as below.

cas.auth.enabled=true

cas.login.url=http://xxx:4287/cas/login
cas.logout.url=http://xxx:4287/cas/logout
cas.server.name=http://xxx:4287
cas.server.url=http://xxx:4287/cas
cas.service.url=http://yyy:8080/c/portal/login


Is there any thing I need to add to configuration to get Single Sign Out working? Or Is that wrong the way I did ? So How do I can Enable Single Sign Out feature?
Sampath Chandana
RE: Liferay Single Sign Out with CAS
January 15, 2012 5:57 PM
Answer

Sampath Chandana

Rank: New Member

Posts: 2

Join Date: January 15, 2012

Recent Posts

The issue was Single Sign Out Filter is not defined in /ROOT/WEB-INF/web.xml. I defined it as below and then it worked fine.

<filter>
<filter-name>CAS Single Sign Out Filter</filter-name>
<filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>CAS Single Sign Out Filter</filter-name>
<url-pattern>/c/portal/login</url-pattern>
</filter-mapping>

Thank you
Neha Verma
RE: Liferay Single Sign Out with CAS
April 4, 2012 3:08 AM
Answer

Neha Verma

Rank: New Member

Posts: 12

Join Date: March 12, 2012

Recent Posts

Hi Sampath,

Could you please let me know, how you configured Single Sign On in Liferay ?

Thanks,
Neha
Subhash Pavuskar
RE: Liferay Single Sign Out with CAS
April 4, 2012 3:09 AM
Answer

Subhash Pavuskar

Rank: Regular Member

Posts: 234

Join Date: March 12, 2012

Recent Posts

I Understood what is SSO and its Advantage as a theoretical , Now I want to Implement In Liferay 6.1 can you pls tell me the procedure to implement in my portal?