Fóruns

Início » Liferay Portal » English » 6. Portal Framework

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Thomas Berg
Redirect to login when accessing protected document
15 de Janeiro de 2012 07:59
Resposta

Thomas Berg

Ranking: Regular Member

Mensagens: 134

Data de entrada: 7 de Setembro de 2009

Mensagens recentes

Hi,

I've put a document in a certain organization's Document Library and have updated the permissions so that only organization members (and the owner) can access the document.

Users who click on the download link for the file (the url created by the Document Library) while not being logged in gets a message saying
"You do not have permission to access the requested resource". (com.liferay.portal.security.auth.PrincipalException)

This is expected behaviour I guess but is it possible to redirect non-logged-in users to the login page (appending a redirect-parameter for the resource) instead of showing this message?

Thanks in advance,
Regards Thomas
Cedric Soret
RE: Redirect to login when accessing protected document
19 de Julho de 2012 05:09
Resposta

Cedric Soret

Ranking: New Member

Mensagens: 14

Data de entrada: 27 de Fevereiro de 2012

Mensagens recentes

Hello,

It's late but had someone found any solution to this problem ?

Regards
Cedric
Evan Zeimet
RE: Redirect to login when accessing protected document
23 de Julho de 2013 13:04
Resposta

Evan Zeimet

Ranking: New Member

Mensagens: 9

Data de entrada: 23 de Julho de 2013

Mensagens recentes

Having the same issue. Hoping for a fix.