Combination View Flat View Tree View
toggle
Sébastien Meunier
Security manager problem: listener blocked
August 2, 2013 9:13 AM
Answer

Sébastien Meunier

Rank: Youngling

Posts: 0

Join Date: January 26, 2010

Recent Posts

Hello,

We would like to publish an application to the marketplace, for the 2013 marketplace app contest.

Publishing an application to the marketplace requires to enable the security manager.
Our application uses a listener (in web.xml) to initialize its context, but this listener doesn't work when the security manager is enabled.

It seems that this is a known issue for 6.1 CE version (see http://issues.liferay.com/browse/LPS-37587).

Have you met this issue? How did you handle it?
What solution do you suggest so that we can publish this application to the marketplace for the 6.1 CE ga2 version of liferay ?

Additional challenge: Note that we don't have access to an enterprise version or to the 6.1 CE ga3 that is supposed to fix bugs with the security manager. We haven't planned to port it to version 6.2 yet.

Thanks all
James Falkner
RE: Security manager problem: listener blocked
August 2, 2013 9:22 AM
Answer

James Falkner

Rank: Youngling

Posts: 0

Join Date: September 17, 2010

Recent Posts

Sébastien Meunier:
Hello,

We would like to publish an application to the marketplace, for the 2013 marketplace app contest.

Publishing an application to the marketplace requires to enable the security manager.
Our application uses a listener (in web.xml) to initialize its context, but this listener doesn't work when the security manager is enabled.

It seems that this is a known issue for 6.1 CE version (see http://issues.liferay.com/browse/LPS-37587).

Have you met this issue? How did you handle it?
What solution do you suggest so that we can publish this application to the marketplace for the 6.1 CE ga2 version of liferay ?

Additional challenge: Note that we don't have access to an enterprise version or to the 6.1 CE ga3 that is supposed to fix bugs with the security manager. We haven't planned to port it to version 6.2 yet.

Thanks all


Hey Sébastien, thanks for putting (or wanting to put) your apps on the Marketplace! Note that the use of PACL is now optional - during the publishing process, you can check a box (or uncheck it) to indicate that your app does not work with PACL enabled. So if PACL is the only thing holding you back from working, just turn it off and ensure to un-check the "Uses Security Manager" when you are publishing your app to the Marketplace.

That issue (LPS-37587) is fixed in the upcoming GA3 build, as you correctly point out, but you shouldn't have to wait for that.
Sébastien Meunier
RE: Security manager problem: listener blocked
August 5, 2013 3:38 AM
Answer

Sébastien Meunier

Rank: Youngling

Posts: 0

Join Date: January 26, 2010

Recent Posts

Thank you!


You may want to have this changed in the documentation because it looks like it's a requirement to have it enabled:
Property security-manager-enabled must be set to true. [...] Every app you submit on the Marketplace must use this framework.
James Falkner
RE: Security manager problem: listener blocked
August 7, 2013 1:46 PM
Answer

James Falkner

Rank: Youngling

Posts: 0

Join Date: September 17, 2010

Recent Posts

Sébastien Meunier:
Thank you!


You may want to have this changed in the documentation because it looks like it's a requirement to have it enabled:
Property security-manager-enabled must be set to true. [...] Every app you submit on the Marketplace must use this framework.


Yeah, we are in the process of updating those docs, thanks for the nudge emoticon

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.