掲示板
integrating Cas
I am trying to integrate CAS with liferay. We already have a cas server (say dragon.localhost) and I added the following lines to portal-ext.properties.
cas.auth.enabled=true
cas.login.url=https://dragon.localhost:8443/cas/login
cas.logout.url=https://dragon.localhost:8443/cas/logout
#cas.service.url=https://localhost:8444/c/portal/login
cas.server.name=localhost:8444
cas.validate.url=https://dragon.localhost:8443/cas/proxyValidate
I changed the filtermapping for CAS as
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I manually added a user in liferay with the same username, password, email-address of a cas user.
When I called liferay, it redirects to cas as expected, when I enter the username and password, it automatically logs into liferay as expected too but the screen looks ugly with no borders. I am attaching a screenshot to show how it looks. Can someone please help me on this.
Thanks,
Lavanya.
cas.auth.enabled=true
cas.login.url=https://dragon.localhost:8443/cas/login
cas.logout.url=https://dragon.localhost:8443/cas/logout
#cas.service.url=https://localhost:8444/c/portal/login
cas.server.name=localhost:8444
cas.validate.url=https://dragon.localhost:8443/cas/proxyValidate
I changed the filtermapping for CAS as
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I manually added a user in liferay with the same username, password, email-address of a cas user.
When I called liferay, it redirects to cas as expected, when I enter the username and password, it automatically logs into liferay as expected too but the screen looks ugly with no borders. I am attaching a screenshot to show how it looks. Can someone please help me on this.
Thanks,
Lavanya.
15年前 に sameer danthurthy によって更新されました。
RE: integrating Cas
Junior Member 投稿: 38 参加年月日: 08/01/24 最新の投稿
I don't think it has anything to do with the fact that the authentication is being done through CAS? I believe the layouts /CSS might have been the issue. Do you get the same layouts if you bypass CAS?