SSO integration issue after JIRA upgrade

I have a running instance of JIRA 4.2 with integrated SSO, and we are in process of upgrading JIRA to 5.2. When i setup the SSO integration aby put and modify all the related files, it redirects perfectly on SSO url but come back to JIRA showing some error like "java.lang.AbstractMethodError". I have attached a error of above error.

Cause:
java.lang.AbstractMethodError: com.atlassian.configurable.SMAunthenticator.getUser(Ljava/lang/String;)Ljava/security/Principal;

Stack Trace: [hide]

java.lang.AbstractMethodError: com.atlassian.configurable.SMAunthenticator.getUser(Ljava/lang/String;)Ljava/security/Principal;
	at com.atlassian.configurable.SMAunthenticator.getUser(SMAunthenticator.java:40)
	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:132)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:169)
	at com.atlassian.jira.web.filters.JiraLoginFilter.doFilter(JiraLoginFilter.java:70)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
	at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
	at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:55)

1 answer

Hi Panguin

Are you using Crowd or a custom SSO authentication? In this case, please don't forge to add the new class in the related Tomcat classes path.

Perhaps the following link could be useful to understand a little bit about this:

https://confluence.atlassian.com/display/CROWD/Overview+of+SSO#OverviewofSSO-ConfiguringCrowdforSSO

Cheers,

Paulo Renato

It is a custom authenticator, the getUser method is giving problem...

getUser(String arg0) is giving problem; last time it was a method in DefaultAuthenticator, but now in JIRA API it is a abstract method now. so i got to implement the getUser(String arg0) on my own.

Anyone can share how to implement getUser(String arg0) in the getUser(request, response)????

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,080 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot