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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

727 views 6 13
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