Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Joshua Messina
Redirect Unauthenticated Users to Login Screen
April 13, 2012 12:52 PM
Answer

Joshua Messina

Rank: Junior Member

Posts: 30

Join Date: April 13, 2012

Recent Posts

I have created a private site for my liferay setup. However, I have noticed that when you enter the address to the private site into the url bar, it brings you to the site whether you are signed in or not. Is there some way that I can force unauthenticated users to the login screen when they attempt to view pages in the private site?
David H Nebinger
RE: Redirect Unauthenticated Users to Login Screen
April 13, 2012 1:21 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7483

Join Date: September 1, 2006

Recent Posts

Remove guest access to the page.
Joshua Messina
RE: Redirect Unauthenticated Users to Login Screen
April 13, 2012 1:27 PM
Answer

Joshua Messina

Rank: Junior Member

Posts: 30

Join Date: April 13, 2012

Recent Posts

I'm afraid that I'm fairly new to liferay. Could you be more specific? How do I go about doing that? Will I have to do that for every page inside the site or is there some way to remove guest access from the entire site?
David H Nebinger
RE: Redirect Unauthenticated Users to Login Screen
April 13, 2012 1:42 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7483

Join Date: September 1, 2006

Recent Posts

Go to manage menu, then page. For each page, click the permissions button at the bottom and remove guest view permission.
Hitoshi Ozawa
RE: Redirect Unauthenticated Users to Login Screen
April 13, 2012 9:00 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

I just checked Liferay 6.1.0 GA1 and "Guest" role isn't included by default on private pages. Have to modified any settings?
Kumar K
RE: Redirect Unauthenticated Users to Login Screen
June 11, 2013 11:58 PM
Answer

Kumar K

Rank: New Member

Posts: 19

Join Date: January 25, 2013

Recent Posts

Hi,
Did the same but when the user is directed to login page it is not retaining the language. It is displaying the login page in other language than the current selected language.
Actually we are supporting two languages. Any help?
juan meza
RE: Redirect Unauthenticated Users to Login Screen
January 23, 2014 8:50 AM
Answer

juan meza

Rank: Junior Member

Posts: 56

Join Date: January 6, 2014

Recent Posts

i have the same problem, in liferay 6.1.0 GA1... guest is not included in private or restricted pages... i still can enter by url... i just see the portlets with permissions error... but i want them to go to log in... where can i modify this?

thanks
juan meza
RE: Redirect Unauthenticated Users to Login Screen
January 23, 2014 11:41 AM
Answer

juan meza

Rank: Junior Member

Posts: 56

Join Date: January 6, 2014

Recent Posts

to answer my own question, i found that is a liferay issue, if you create sites with a template

https://support.liferay.com/browse/LPS-24888

the workaround, create a blank site, and blank pages... then you should see the login page if a guest tries to acces it

hope it helps someone emoticon