When we are running the 7.13.0 version of Jira we create a custon plugin to override the getUserFromBasicAuthentication method in the JiraSeraphAuthenticator. This allowed us to authenticate the restAPI using a SSO provider (keycloak). Now, once we have upgraded it doesnt start anymore. I have gone back into the plugin and tried:
- going up a level and extended the DefaultAuthenticator (mimic 99% of all the logic that the JiraSeraphAuthenticator does).
- checked the POM and changed the jira-version in the pom to 8.9.0 from 7.13.0.
- created a new plugin from scratch from the latest SDK
- started Jira without it and then started it again with it to prove it is what is breaking it.
Technical Details:
- changing the version of the plugin (atlassian-plugin.xml):
- from:
- <atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
- to:
- <atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}">
- Uncommented the Jira-core version to get at the security package
- put it into JIRA-HOME/atlassian-jira/WEB-INF/lib/
- checked permissions of the file against the other JAR's