Liferay按文件

时间:2016-08-05 10:16:33

标签: liferay cas

我在本地机器上使用liferay,并实施了CAS

我改变了网络中的cas设置:

Login URL   - http://localhost:8080/cas-web/login
Logout URL  - http://localhost:8080/cas-web/logout
Server Name - http://localhost:8080/cas-web
Server URL  - http://localhost:8080/cas-web/proxyValidate

现在正在给我 ERR_SSL_PROTOCOL_ERROR 当我尝试输入时,我尝试修改portal-ext.properties以更改 cas.auth.enabled = false 但似乎像liferay在门户网站设置中有更多的优先权。

对我有用的最后一个配置是:

cas.login.url=https://localhost:8443/cas-web/login
cas.logout.url=https://localhost:8443/cas-web/logout
cas.server.name=localhost:8080
cas.server.url=https://localhost:8443/cas-web
cas.validate.url=https://localhost:8443/cas-web/proxyValidate

如何禁用cas登录,我可以在没有cas的情况下进入liferay门户并将设置更改为门户网站?

1 个答案:

答案 0 :(得分:0)

只需转到表portletpreferences并搜索portlet id,例如'%cas%&#39 ;; 然后复制记事本中的首选项列并搜索xml标记,将值设置为false并重新启动服务器。 您将能够看到正常的登录页面。