Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Shilpa Anand
How to disable CAS in Liferay 5.2.3 from the backend
27 de Agosto de 2009 03:44
Resposta

Shilpa Anand

Ranking: New Member

Mensagens: 3

Data de entrada: 27 de Agosto de 2009

Mensagens recentes

Hi,

I had a liferay instance working fine. While testing some things out, I enabled CAS from the Settings -> Authentication -> CAS tab. Now when I logged out, I am not able to login with a normal test@liferay.com/test user. I do not have any other users in my portal so I can't change this setting from UI. Please let me know how can I change this setting via some properties file.

I went through so many posts here and tried

cas.auth.enabled=false
com.liferay.filters.sso.cas.CASFilter=false (but this gave error that class does not exist)

Please please please help me....

Thanks!
Manav K
RE: How to disable CAS in Liferay 5.2.3 from the backend
27 de Agosto de 2009 07:36
Resposta

Manav K

Ranking: New Member

Mensagens: 5

Data de entrada: 14 de Março de 2009

Mensagens recentes

Setting cas.auth.enabled should do it. Where are you setting these properties?
Shilpa Anand
RE: How to disable CAS in Liferay 5.2.3 from the backend
27 de Agosto de 2009 11:18
Resposta

Shilpa Anand

Ranking: New Member

Mensagens: 3

Data de entrada: 27 de Agosto de 2009

Mensagens recentes

I had put this setting into the portal-ext.properties file.

I actually had installed the liferay portal server, and integrated it with CAS server WITHOUT making any UI changes from the liferay portal server. Later I went to the Liferay UI and explicitly enabled the CAS setting under the CAS tab for authentication.

I cleared the temp and work folders and restarted the server but it did not make any difference. Is there any other setting that I need to disable?

I also have a DB associated with the liferay portal, do these settings get stored in the DB as well?
Jonas Yuan
RE: How to disable CAS in Liferay 5.2.3 from the backend
27 de Agosto de 2009 11:39
Resposta

Jonas Yuan

Ranking: Liferay Master

Mensagens: 993

Data de entrada: 26 de Abril de 2007

Mensagens recentes

To remove CAS SSO (and other SSO including openSSO) settings, in case:
1) shutdown the portal
2) Run script: delete from PortletPreferences where portletId = 'LIFERAY_PORTAL';
3) re-start the portal

You may refer to
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Full+Integration+-+Liferay,+Alfresco,+SSO+and+LDAP

Hope that it helps,

Thanks

Jonas Yuan

-----------------
Liferay Books

Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
Shilpa Anand
RE: How to disable CAS in Liferay 5.2.3 from the backend
27 de Agosto de 2009 12:10
Resposta

Shilpa Anand

Ranking: New Member

Mensagens: 3

Data de entrada: 27 de Agosto de 2009

Mensagens recentes

Thanks a lot Jonas! It worked just fine. I was able to log back in finally...
Rodrigo Marquez
RE: How to disable CAS in Liferay 5.2.3 from the backend
1 de Fevereiro de 2011 00:52
Resposta

Rodrigo Marquez

Ranking: New Member

Mensagens: 8

Data de entrada: 8 de Novembro de 2010

Mensagens recentes

How to do this in 6.0.5?

Thanks!
Neha Verma
RE: How to disable CAS in Liferay 5.2.3 from the backend
4 de Abril de 2012 04:39
Resposta

Neha Verma

Ranking: New Member

Mensagens: 12

Data de entrada: 12 de Março de 2012

Mensagens recentes

Hi all,

Can you please let me know, how can i disable CAS in Liferay 6.1 ee from back-end. I tried with above given script, but its not working, but still not able to login into liferay


Thanks,
Neha
Al-Mothafar Al-Hasan
RE: How to disable CAS in Liferay 5.2.3 from the backend
31 de Dezembro de 2012 05:48
Resposta

Al-Mothafar Al-Hasan

Ranking: Regular Member

Mensagens: 110

Data de entrada: 6 de Dezembro de 2009

Mensagens recentes

Neha Verma:
Hi all,

Can you please let me know, how can i disable CAS in Liferay 6.1 ee from back-end. I tried with above given script, but its not working, but still not able to login into liferay


Thanks,
Neha


Maybe its too late, but today I faced same problem, after long time I found that data moved to "PORTALPREFERENCES" table, OWNERID=2 and OWNERTYPE=4 for CAS and LDAP configuration.

Regards