Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Joshua Messina
Redirect Unauthenticated Users to Login Screen
13 de Abril de 2012 12:52
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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
13 de Abril de 2012 13:21
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 8438

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

Remove guest access to the page.
Joshua Messina
RE: Redirect Unauthenticated Users to Login Screen
13 de Abril de 2012 13:27
Resposta

Joshua Messina

Ranking: Junior Member

Mensagens: 30

Data de entrada: 13 de Abril de 2012

Mensagens recentes

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
13 de Abril de 2012 13:42
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 8438

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

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
13 de Abril de 2012 21:00
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7952

Data de entrada: 23 de Março de 2010

Mensagens recentes

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
11 de Junho de 2013 23:58
Resposta

Kumar K

Ranking: New Member

Mensagens: 19

Data de entrada: 25 de Janeiro de 2013

Mensagens recentes

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
23 de Janeiro de 2014 08:50
Resposta

juan meza

Ranking: Junior Member

Mensagens: 64

Data de entrada: 6 de Janeiro de 2014

Mensagens recentes

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
23 de Janeiro de 2014 11:41
Resposta

juan meza

Ranking: Junior Member

Mensagens: 64

Data de entrada: 6 de Janeiro de 2014

Mensagens recentes

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