Using multiple authenticators

Is it possible to configure JIRA to use a custom Seraph authenticator for user logins and use the default authenticator for soap logins?

The external application needs a username and password to login but the custom Seraph is using SSO. Is it possible to configure so that soap logins still use the default login? All users are internal to JIRA.

2 answers

If your authenticator extends DefaultAuthenticator as in the example at http://docs.atlassian.com/atlassian-seraph/latest/sso.html you have a access to the HttpServletRequest object and thus you can check if the requested Url is something like /rpc/soap/...

If you do this check at the very beginning of your getUser() method and then just call super.getUser() this should do what you want.

it's common in SSO authenticators to fall back to the standard authenticator if the request does not come from a browser, e.g. if the user agent header is something like 'Axis 1.4'.

to make soap calls work with your SSO solution you also must make sure that your reverse proxy lets the /rp/soap Url pass without doing anything like redirecting to a login form.

I would say not by default.

What custom SSO solution are you using? Your own or AppFusions?

If AppFusions, we can extend your deployment to address this case possibly - contact at info@appfusions.com

I'm using my own custom authenticator.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,414 views 2 7
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