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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,806 views 18 22
Read article

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