How to integrate custom authenticator in plugin

Is there a way to implement a custom authenticator within a plugin higher than type 1 class? The purpose is to make the plugin installable with the UPM instead of copying the jar file into the lib folder. To make the custom authenticator working you have to implement the our own one and adjus the seraph config xml file to activate our own authenticator.

https://docs.atlassian.com/atlassian-seraph/latest/sso.html

Is there any authentication module for plugin development, which can be used for registering an custom authenticator?

At the moment I have implemented following workflow to detect a valid authenticated user via kerberos:

- Instance is secured via upfornt apache proxy using kerberos auth module
- Plugin implements a filter which detectes the existence of HTTP remote user and sets the session variables for the user (no user principal set -> have to figure out HOW -> any help appriciated :-) )

Thanking you in advane.

2 answers

Hello David,

I'm in same situation. I'd like to extend JiraSeraphAuthenticator using a JIRA Plugin but doesn't exist any plugin module type to do this. I've tried Component Plugin Module but doesn't work because SERAPH tries to load my class before my plugin is loaded.

Regards,

 

Hi Manuel,

at the time I was dealing with the problem I did not find any solution, so we decided to create a type 1 plugin, which you need to install manually and not with the help of UPM. The major reason for not allowing the injection of custom authentication is security, I assume.

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
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

36 views 3 1
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