Fórumok

Liferay Single Sign Out with CAS

Sampath Chandana, módosítva 12 év-val korábban

Liferay Single Sign Out with CAS

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.01.15. Legújabb bejegyzések
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, módosítva 12 év-val korábban

RE: Liferay Single Sign Out with CAS

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.01.15. Legújabb bejegyzések
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, módosítva 12 év-val korábban

RE: Liferay Single Sign Out with CAS

New Member Bejegyzések: 12 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
Hi Sampath,

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

Thanks,
Neha
thumbnail
Subhash Pavuskar, módosítva 12 év-val korábban

RE: Liferay Single Sign Out with CAS

Regular Member Bejegyzések: 234 Csatlakozás dátuma: 2012.03.13. Legújabb bejegyzések
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?