Foren

Liferay Single Sign Out with CAS

Sampath Chandana, geändert vor 12 Jahren.

Liferay Single Sign Out with CAS

New Member Beiträge: 2 Beitrittsdatum: 15.01.12 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Liferay Single Sign Out with CAS

New Member Beiträge: 2 Beitrittsdatum: 15.01.12 Neueste Beiträge
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, geändert vor 12 Jahren.

RE: Liferay Single Sign Out with CAS

New Member Beiträge: 12 Beitrittsdatum: 13.03.12 Neueste Beiträge
Hi Sampath,

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

Thanks,
Neha
thumbnail
Subhash Pavuskar, geändert vor 12 Jahren.

RE: Liferay Single Sign Out with CAS

Regular Member Beiträge: 234 Beitrittsdatum: 13.03.12 Neueste Beiträge
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?