Fórumok
Liferay 6.1.2: logout after timeout to different pages.
Mikhail Zheludev, módosítva 10 év-val korábban
Liferay 6.1.2: logout after timeout to different pages.
Junior Member Bejegyzések: 43 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
Hello!
I have two communities, and after timeout happened regardless current active community I have logout permanent to one the same community login page. How can set different pages for logout after session timeout?
I have two communities, and after timeout happened regardless current active community I have logout permanent to one the same community login page. How can set different pages for logout after session timeout?
Mikhail Zheludev, módosítva 10 év-val korábban
RE: Liferay 6.1.2: logout after timeout to different pages.
Junior Member Bejegyzések: 43 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
I have created in both communities '/login' pages, and set 'auth.login.site.url=true' propertiy in portal-ext.properties, and my first community is default. If I login to second community and session is expired - I get redirect to '/login' page of my default first community.
Can anybody explain this behaviour?
Can anybody explain this behaviour?
Dhrutika Vyas, módosítva 10 év-val korábban
RE: Liferay 6.1.2: logout after timeout to different pages.
Expert Bejegyzések: 435 Csatlakozás dátuma: 2009.02.09. Legújabb bejegyzések
Hi Mikhail,
Generally when you click on logout, it will redirect to path that is specified in portal-ext.properties 'default.logout.page.path'.
But if you want community specific page, you can overwrite 'DefaultLogoutPageAction' using hook to redirect to different communities.
Regards,
Dhrutika
Generally when you click on logout, it will redirect to path that is specified in portal-ext.properties 'default.logout.page.path'.
But if you want community specific page, you can overwrite 'DefaultLogoutPageAction' using hook to redirect to different communities.
Regards,
Dhrutika
Mikhail Zheludev, módosítva 10 év-val korábban
RE: Liferay 6.1.2: logout after timeout to different pages.
Junior Member Bejegyzések: 43 Csatlakozás dátuma: 2013.01.08. Legújabb bejegyzések
Hi Dhrutika!
Thank for answer. But what is with this decription from portal-impl archive:
should it work appropriate? Or is it disinformation?
UPDATES:
Isuue is fixed.
Thank for answer. But what is with this decription from portal-impl archive:
# Enter a friendly URL of a page that will be used to login portal users
# whenever the user is navigating a site and authentication is needed. By
# default, the portal's login page or the URL set in the property
# "auth.login.url" is used.
#
auth.login.site.url=/login
should it work appropriate? Or is it disinformation?
UPDATES:
Isuue is fixed.
auth.login.site.url=/login
is working.