Fórumok

CASifying URL page in a Liferay session

Fighter BD, módosítva 12 év-val korábban

CASifying URL page in a Liferay session

Junior Member Bejegyzések: 43 Csatlakozás dátuma: 2011.10.03. Legújabb bejegyzések
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.
thumbnail
Drew Blessing, módosítva 12 év-val korábban

RE: CASifying URL page in a Liferay session

Junior Member Bejegyzések: 78 Csatlakozás dátuma: 2011.01.27. Legújabb bejegyzések
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.
thumbnail
Drew Blessing, módosítva 12 év-val korábban

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

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

RE: CASifying URL page in a Liferay session

Junior Member Bejegyzések: 78 Csatlakozás dátuma: 2011.01.27. Legújabb bejegyzések
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.