フォーラム

ホーム » Liferay Portal » English » 6. Portal Framework

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Thomas Berg
Redirect to login when accessing protected document
2012/01/15 7:59
答え

Thomas Berg

ランク: Regular Member

投稿: 132

参加年月日: 2009/09/07

最近の投稿

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
2012/07/19 5:09
答え

Cedric Soret

ランク: New Member

投稿: 14

参加年月日: 2012/02/27

最近の投稿

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
2013/07/23 13:04
答え

Evan Zeimet

ランク: New Member

投稿: 9

参加年月日: 2013/07/23

最近の投稿

Having the same issue. Hoping for a fix.