Active Objects and security errors

Pascal Robert June 26, 2019

Hi,

I'm trying to use Active Objects inside a servlet, bundled in a custom plugin. But I have a very strange problem when adding this to the POM:

<pluginArtifacts>
<pluginArtifact>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>${ao.version}</version>
</pluginArtifact>
<pluginArtifact>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-jira-spi</artifactId>
<version>${ao.version}</version>
</pluginArtifact>
</pluginArtifacts>

Jira starts, but when I try to go to any URL, I get:

Rejecting security-sensitive request that bypassed Johnson filter: /jira/secure/errors.jsp

Removing the two entries from the POM fix this issue... but the servlet module is not loaded.

What is the correct way to inject AO into a plugin? Latest SDK, running Jira 7.13.0 from the SDK.

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer