Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Kantega SSO and upgrade to Jira 8 - Important notice

Jon Espen Ingvaldsen Kantega SSO
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2019

Problem description

Jira 8 contains the Atlassian Platform 5.0. This platform changed the autowire-mode from the deprecated 'auto-detect' to 'constructor'. As a result, older versions of Kantega Single Sign-on will not work at all on Jira 8 because core components relied on setter-injection.

Kantega Single Sign-on made neccesary changes to solve this in version 3.4.7.

If you are unlucky to upgrade to Jira 8 before upgrading Kantega Single Sign-on to 3.4.7 or newer, you will have run into a problem.

How is the problem seen?

You will see something similar to this in the log:

java.lang.NullPointerException
	at org.kantega.atlaskerb.KerbConfManager.settings(KerbConfManager.java:493) [?:?]
	at org.kantega.atlaskerb.KerbConfManager.isPreemptiveAuthEnabled(KerbConfManager.java:197) [?:?]
	at org.kantega.atlaskerb.AtlasKerberosFilter.isMappedRequest(AtlasKerberosFilter.java:342) [?:?]
	at org.kantega.atlaskerb.AtlasKerberosFilter.doFilter(AtlasKerberosFilter.java:93) [?:?]
	at 

And you will also experience that you are not able to log into Jira.

How to solve

Best is if you upgrade Kantega Single Sign-on to 3.4.7 or newer before you upgrade Jira 8.

If you did upgrade to Jira 8 and has no easy way to roll back, you will have to remove Kantega Single Sign-on jar file to start up successfully.

Removal is done by:

  • navigating to: <jira_home>/plugins/installed-plugins
  • and removing plugins containing 'kerberosauth' in name with command rm *kerberosauth*

 After the removal, please restart Jira 8 and install Kantega Single Sign-on latest version. You will keep config after reinstalling.

See also details from Atlassian on how to uninstall apps:

https://confluence.atlassian.com/upm/uninstalling-apps-273875709.html



Please reach out to our support team if you struggle with your upgrade.

Regards,
Jon Espen
Kantega SSO

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events