组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Firas BD
CASifying URL page in a Liferay session
2011年10月10日 上午2:52
答复

Firas BD

等级: Junior Member

帖子: 43

加入日期: 2011年10月3日

最近的帖子

I am using Liferay portal Tomcat 6. I set up after the CAS server and the SSL certificate, and the CAS configuration in Liferay control panel.
Now I am authenticated with @= test@liferay.com on CAS session login=password
and with @:test@liferay.com and password= test on Liferay session

I added a Gmail url page in the test Liferay session and I wanna use CAS to have access to Gmail without authentication.
Anyone could help me please.
Drew Blessing
RE: CASifying URL page in a Liferay session
2011年10月10日 下午12:37
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

Google Apps uses SAML Single Sign-On instead of CAS. However, CAS supports SAML if you configure it correctly. Here is a Google help article for configuring SSO:
http://www.google.com/support/a/bin/answer.py?answer=60224

Here is another article from JASIG on setting up SAML with Google Apps:
https://wiki.jasig.org/display/CASUM/SAML+2.0+%28Google+Accounts+Integration%29

Other than that, I would recommend checking out the CAS provider's forums (i.e. JASIG) for more help.
Drew Blessing
RE: CASifying URL page in a Liferay session
2011年10月10日 下午8:01
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

For what it's worth, the soon to be released Liferay 6.1 is supposed to have support for SAML 2.0. This will make Liferay a SSO provider, which would conceivably work with Google Apps. This would eliminate the need for you CAS server, though. It might be worth checking out.
Neha Verma
RE: CASifying URL page in a Liferay session
2012年4月5日 上午1:37
答复

Neha Verma

等级: New Member

帖子: 12

加入日期: 2012年3月12日

最近的帖子

Hi All,

Can you please tell me the steps how you configured CAS with liferay 6.1 ee.
I have to step up SSO in Liferay. To configure CAS first I followed the steps given in below URL :
( http://www.unicon.net/blog/apetro/casify_liferay_6_ee )

But it's not working, getting error message after sign out liferay.


Thanks,
Neha
Drew Blessing
RE: CASifying URL page in a Liferay session
2012年4月5日 上午6:19
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

Do you already have a separate CAS server running or are you setting up cas-web in the same Tomcat instance as Liferay?

Based on your information I understand you are able to log in to Liferay using CAS, but get an error on log out? What do you have as values for each of the CAS settings on the portal? Login URL, Logout URL, etc?
Neha Verma
RE: CASifying URL page in a Liferay session
2012年4月6日 下午10:27
答复

Neha Verma

等级: New Member

帖子: 12

加入日期: 2012年3月12日

最近的帖子

Hi Drew,

I have configured CAS with Liferay 6.1 EE. Now i m able to login into liferay through CAS and after logout its redirecting me to CAS logout page also.

Now I wanna to configure gmail in liferay through CAS... so that once i will click on gmail url, it will redirect to me to the gmail without any authentication.

Could you please help me, how can I configure gmail.

Thanks,
Neha.
Drew Blessing
RE: CASifying URL page in a Liferay session
2012年4月9日 上午7:03
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

Are you running JASIG CAS? http://www.jasig.org/cas

If so, you can configure SAML authentication between CAS and Google natively, without involving Liferay at all. This is the only way I know of to accomplish the task you are asking. Basically, the way it will work then is that you access Liferay and sign into CAS. Then, when you click on a Google link that requires authentication, it will check back with your CAS server and authenticate using SAML in a single sign-on manner.

JASIG has a specific wiki page dealing with SAML authentication with Google Apps domains at https://wiki.jasig.org/pages/viewpage.action?pageId=6063484
Neha Verma
RE: CASifying URL page in a Liferay session
2012年4月12日 上午4:22
答复

Neha Verma

等级: New Member

帖子: 12

加入日期: 2012年3月12日

最近的帖子

Hi Drew,

Thanks, for your reply...
Yes, I am running JASIG CAS server with Liferay 6.1 EE........ I tried the steps given in above URL ( https://wiki.jasig.org/pages/viewpage.action?pageId=6063484 ).
After Step 2 i.e. Configure CAS Server...... by modifying the WEB-INF/spring-configuration/argumentExtractorsConfiguration.xml.
I restarted the server..... and once I clicked on Sign In....... I got redirected to the URL http://localhost:8080/cas-web/login?service=http%3A%2F%2Flocalhost%3A8080%2Fc%2Fportal%2Flogin%3Fp_l_id%3D10169......... i.e. showing error message .... instead of login option....


Thanks,
Neha.
Drew Blessing
RE: CASifying URL page in a Liferay session
2012年4月12日 上午6:59
答复

Drew Blessing

等级: Junior Member

帖子: 79

加入日期: 2011年1月27日

最近的帖子

Make sure to watch the logs as you start up after making those changes. Address any errors CAS throws while it starts up. Also, I'm not 100% sure of the state/version of the cas-web WAR that Liferay provides. We run a build of CAS directly from JASIG, usually built from source to fit our exact needs. There may be a SAML add-on of sorts that isn't available in the bundled version you're installing with Liferay. In that case, you're best bet may be to try and set up a standard CAS server standalone. You can still run it on the same JVM as Liferay, but it won't be hot deployed.

If that is what you want to do, the JASIG forums and documentation are going to be your best mode of support.