SSO between Liferay 5.2 and PHP via CAS

I am trying to use CAS for single sign-on between Liferay and a PHP web application.

I installed the JASIG CAS web app , created a certificate using keytools, and configured Liferay through the administrative user interface (Setup> Authentication> CAS tab) as follows:

Liferay CAS configuration

When I click Login on the Liferay menu, I am redirected to the CAS login page (with a dirty trick username == password: I have not configured LDAP as I am going to explain below) and then I am redirected to Liferay again, but not logged in: I see the LR login form again. So I think it doesn't work.

The PHP web application, on the other hand, seems to work flawlessly.

So my questions are:

  1. is there something wrong with my LR config?
  2. required LDAP? I would prefer Liferay to follow the main authentication provider and signal the CAS that the user is indeed legitimate, then use the CAS to distribute the ticket to another web application; do I need to develop a CAS plugin to work this way?
+2


source to share


1 answer


  • May be. You checked the CAS first: look at https: //: / cas / login and try the password / password.
  • As I understand it, LDAP is a must in your case.


+1


source







All Articles