Re: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-27 Thread Lukasz Lenart
2013/11/27 Fredrik Andersson : > I then guess that you agree with me that if it is possible (if you got > permissions to add permissions) to set the permissions like this instead of > the OgnlRuntime.setSecurityManager(null); > > Do you agree with me? Yes, for sure :-) There was even a dedicat

RE: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-27 Thread Fredrik Andersson
agree with me? Best regards Fredrik > From: lukaszlen...@apache.org > Date: Tue, 26 Nov 2013 22:35:53 +0100 > Subject: Re: Will I get sideeffects with: > OgnlRuntime.setSecurityManager(null); > To: user@struts.apache.org > > This should help [1] and you must add the

Re: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-26 Thread Lukasz Lenart
This should help [1] and you must add these (I cannot find the correct link with exact example for Struts2) permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; permission java.lang.RuntimePermission "*"; permission ognl.OgnlInvokePermission "*"; [1] https://confluence.atlassia

Re: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-26 Thread Damian Blazejewski
What is the access modifier of method WelcomeUserAction.setUsername()? Pozdrawiam/Best regards, Damian Błażejewski dblazejewski.com 2013/11/26 Fredrik Andersson > Hello! > > (Hope this is the correct forum for this question) > > > > I get this error in my hello-world-struts2-webapp when I run

Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-26 Thread Fredrik Andersson
Hello! (Hope this is the correct forum for this question) I get this error in my hello-world-struts2-webapp when I run it in my tomcat with the catalina.policy. (Btw my catalina.policy is edited a bit to match my production env: http://pastie.org/8510824) /-- Encapsulated exception ---