フォーラム

ホーム » 1. Marketplace App Development

構造的に表示 平面上に表示 ツリー上に表示
toggle
Cameron McBride
How to tell if PACL is enabled?
2012/10/31 10:38
答え

Cameron McBride

ランク: Youngling

投稿: 0

参加年月日: 2011/02/08

最近の投稿

Is there some easy way I tell if my "security-manager-enabled=true" is working? I am running 6.1 CE GA2. I see nothing on startup about PACL.

I have deployed my portlet, which I'm sure should fail but I see no warnings or errors on deployment or when using the portlet.

What is some simple line I could add to my portlet that would definitely cause a PACL error?
Cameron McBride
RE: How to tell if PACL is enabled?
2012/10/31 16:14
答え

Cameron McBride

ランク: Youngling

投稿: 0

参加年月日: 2011/02/08

最近の投稿

I have looked in the portal console at Portal Properties and I can see that it is set to true:
security-manager-enabled true

I also tried downloading several portlets from the market and none so far have had any permissions in the liferay-plugin-package.properties file.

Update:
Continuing on impossible hunt I tried adding in some code to download from the url google.com. This should trigger the socket security (http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/lp-6-1-dgen11-socket-security-0) but it does not.
Cameron McBride
RE: How to tell if PACL is enabled?
2012/10/31 16:35
答え

Cameron McBride

ランク: Youngling

投稿: 0

参加年月日: 2011/02/08

最近の投稿

Got it. You have to put the security-manager-enabled=true in both your portal-ext.properties and in the liferay-package-plugin.properties of the portlet.
Shinn Lok
RE: How to tell if PACL is enabled?
2012/11/01 13:37
答え

Shinn Lok

ランク: Youngling

投稿: 0

参加年月日: 2011/01/14

最近の投稿

Just to clarify, security-manager-enabled=true is not needed in your portal-ext.properties. In fact, it doesn't do anything as there's no such portal property.
Cameron McBride
RE: How to tell if PACL is enabled?
2012/11/01 17:05
答え

Cameron McBride

ランク: Youngling

投稿: 0

参加年月日: 2011/02/08

最近の投稿

Thanks! I have removed it from my portal-ext.

Forums

To access the Developer Forum, please login to your Liferay.com account if you are already a registered developer or register to become a developer.