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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted an hour ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

9 views 0 2
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