Foren
logout from custom authentication
curious Liferay, geändert vor 14 Jahren.
logout from custom authentication
Junior Member Beiträge: 57 Beitrittsdatum: 08.10.09 Neueste Beiträge
we have a custom authentication enabled using an external filter, it is working fine. The problem is when I sign out, I want to go back to the same login screen with which I login but liferay is taking me to the liferay home page. How can I go to the my screen when I logout from liferay? please help me. I need this functionality asap.
Shepherd Ching, geändert vor 14 Jahren.
RE: logout from custom authentication
Regular Member Beiträge: 153 Beitrittsdatum: 14.07.06 Neueste Beiträge
Parameter "default.logout.page.path" of portal-ext.properties may help you.
Reference: portal.properties
##
## Default Logout Page
##
#
# Set the default logout page path for users relative to the server path.
# This is the page users are automatically redirected to after logging out.
# For example, if you want the default logout page to be
# http://localhost:8080/web/guest/logout, set this to /web/guest/logout. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLogoutPageAction in
# the "logout.events.post" property above.
#
default.logout.page.path=
#default.logout.page.path=/web/guest/logout
Reference: portal.properties
##
## Default Logout Page
##
#
# Set the default logout page path for users relative to the server path.
# This is the page users are automatically redirected to after logging out.
# For example, if you want the default logout page to be
# http://localhost:8080/web/guest/logout, set this to /web/guest/logout. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLogoutPageAction in
# the "logout.events.post" property above.
#
default.logout.page.path=
#default.logout.page.path=/web/guest/logout