Hey Jon, I have reviewed and merged the PR. I was about to set the JIRA as resolved, but fix version shows also 7.x and 7.1.x.
So can you backport the changes into those banches please? -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Tue, May 28, 2019 at 2:40 PM Jonathan Gallimore < [email protected]> wrote: > HI All, > > I have investigated an issue where > if -Djavax.security.jacc.policy.provider=sun.security.provider.PolicyFile > is set, deployment of EJBs fails. > > The issue here is that specifying javax.security.jacc.policy.provider > causes the JVM to install a policy, but also means TomEE doesn't install > its policy (org.apache.openejb.core.security.JaccProvider.Policy). TomEE's > policy specifically deals with EJB permissions and delegates to the system > policy for everything else. > > I've created a PR to patch this: https://github.com/apache/tomee/pull/476 > and > would be grateful for review. > > Many thanks > > Jon >
