Forums de discussion

CAS integration issue

Parveen Banu Hebbal, modifié il y a 14 années.

CAS integration issue

New Member Publications: 3 Date d'inscription: 19/08/09 Publications récentes
Hi
I am trying integrate liferay 4.4 and CAS, I followed all the steps
from http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Single+SignOn+-+Integrating+Liferay+With+CAS+Server

but here I am not able to understand what all the properties i need to set in portal-ext.properties file, and i dont see system-ext.properties file.

I have made following entries in portal-ext.properties
## CAS
cas.auth.enabled=true
cas.login.url=https://localhost:8443/cas-web/login
cas.logout.url=https://localhost:8443/cas-web/logout
cas.service.url=http://localhost:8080/c/portal/login
cas.validate.url=https://localhost:8443/cas-web/proxyValidate
com.liferay.filters.sso.cas.CASFilter=true
auto.login.hooks=com.liferay.portal.security.auth.BasicAutoLogin,com.liferay.portal.security.auth.CASAutoLogin

and server.xml

<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
keystoreFile="C:/Documents and Settings/parveen.b/.keystore"
keystorePass="changeit"
truststoreFile="C:/Program Files/Java/jdk1.5.0_16/jre/lib/security/cacerts"
clientAuth="false" sslProtocol="TLS" />

The console is not giving any exception when try to hit on signon I am getting following url and its redirecting to
https://deepak.vitagetech.com:8443/cas-web/login?service=http%3A%2F%2Fdeepak.vitagetech.com%3A8080%2Fc%2Fportal%2Flogin

I am nt able to understand where I am doing wrong.

Any suggestion.

Thanks
Parveen