掲示板

Liferay 5.2.3 SSO CAS

14年前 に Giuseppe Carbone によって更新されました。

Liferay 5.2.3 SSO CAS

New Member 投稿: 15 参加年月日: 10/02/23 最新の投稿
Hi.
I'm spending more and more of my time trying to use sso with CAS server and Liferay5.2.3.
I'm following the guide:
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Single+SignOn+-+Integrating+Liferay+With+CAS+Server
At this time when I click on sign-in of Liferay I am redirected on CAS login page.
I insert eddie eddie as user and password but I'm not logged into liferay
I see another time the login screen of Liferay and on catalina.out logs I see the error:

"10:20:45,059 ERROR [CASAutoLogin:113] com.liferay.portal.NoSuchUserException: No User exists with the key {companyId=10112, screenName=eddie}
com.liferay.portal.NoSuchUserException: No User exists with the key {companyId=10112, screenName=eddie}"

My questions are:
"I must create an user with user eddie on Liferay or is necessary only use same username and password on CAS for to be logged on Liferay?".
"Is possible to use only CAS for SSO"?.

Thanks.
14年前 に Saurabh Agrawal によって更新されました。

RE: Liferay 5.2.3 SSO CAS

New Member 投稿: 1 参加年月日: 10/03/10 最新の投稿
I have tried integrating CAS with Liferay 5.2.3 (Tomcat 6.0)but no luck. I have followed the steps mentioned in the link:

http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Single+SignOn+-+Integrating+Liferay+With+CAS+Server

The version of Liferay is: 5.2.3

CAS Server Version: 3.3.5 which is downloaded from JASIG

CAS Client Vesion: cas-client-core-3.1.10 which is downloaded from JASIG

After performing all the steps as mentioned in above link when I restart TOMCAT. When I hit the login URL: http://localhost:8080/c/portal/login, it still opens up liferay's login page instead of CAS login page.

The only thing which I have not configured in web.xml is:

<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<!-- omit the colon and port number if it doesn't show in the browser URL (i.e. when running on port 80) -->
<param-value>localhost:8080</param-value>
</init-param>

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

I am not sure if this configuration is required.

I think I am doing something fundamentally wrong. Please can anyone suggest where am I going wrong? It is quite possible that the version of jar are not compatible and may have lead to the suituation.

Quick help is much appreciated.

Saurabh
14年前 に Mouli K によって更新されました。

RE: Liferay 5.2.3 SSO CAS

Junior Member 投稿: 32 参加年月日: 09/06/10 最新の投稿
Hi Saurabh,

cas-client 3.1.10 requires cas.sever.url to be setup.

You may refer the comments section here

Regards,
Mouli
thumbnail
14年前 に Nidhi Singh によって更新されました。

RE: Liferay 5.2.3 SSO CAS

Regular Member 投稿: 155 参加年月日: 09/10/07 最新の投稿
Hi,

You can check this blog

Thanks
Nidhi Singh