Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Thomas Berg
Redirect to login when accessing protected document
15. Januar 2012 07:59
Antwort

Thomas Berg

Rang: Regular Member

Nachrichten: 121

Eintrittsdatum: 7. September 2009

Neue Beiträge

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. Juli 2012 05:09
Antwort

Cedric Soret

Rang: New Member

Nachrichten: 13

Eintrittsdatum: 27. Februar 2012

Neue Beiträge

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. Juli 2013 13:04
Antwort

Evan Zeimet

Rang: New Member

Nachrichten: 9

Eintrittsdatum: 23. Juli 2013

Neue Beiträge

Having the same issue. Hoping for a fix.