Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ranjith Narahari
While Logout getting You do not have permission to view this page.
April 29, 2013 6:27 AM
Answer

Ranjith Narahari

Rank: New Member

Posts: 17

Join Date: January 23, 2013

Recent Posts

Hi,

we are using LDAP webgate for login and our liferay session has expired and clicking on logout getting below error.
You do not have permission to view this page.
Please help out on this.
Apoorva Prakash
RE: While Logout getting You do not have permission to view this page.
April 29, 2013 9:53 AM
Answer

Apoorva Prakash

Rank: Liferay Master

Posts: 659

Join Date: June 15, 2010

Recent Posts

Ranjith Narahari:
Hi,

we are using LDAP webgate for login and our liferay session has expired and clicking on logout getting below error.
You do not have permission to view this page.
Please help out on this.


Hey Ranjith,

You should probably check the URL, it might be a private page or permission restricted page which cannot be accessed by guest user.

You can take the help of following property for redirecting user to some definite page:

 1##
 2## Default Logout Page
 3##
 4
 5    #
 6    # Set the default logout page path for users relative to the server path.
 7    # This is the page users are automatically redirected to after logging out.
 8    # For example, if you want the default logout page to be
 9    # http://localhost:8080/web/guest/logout, set this to /web/guest/logout. To
10    # activate this feature, set auth.forward.by.last.path to true. To customize
11    # the behavior, see com.liferay.portal.events.DefaultLogoutPageAction in
12    # the "logout.events.post" property above.
13    #
14    default.logout.page.path=
15    #default.logout.page.path=/web/guest/logout


HTH.

Thanks and Regards,
Apoorva Prakash
Ranjith Narahari
RE: While Logout getting You do not have permission to view this page.
April 30, 2013 4:57 AM
Answer

Ranjith Narahari

Rank: New Member

Posts: 17

Join Date: January 23, 2013

Recent Posts

Hi Prakash,

I am able to redirect with web/guest/logout but while entering c/portal/logout not able to redirecting to login page.
is there any difference using these two.