Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom seraph authenticator

Josef Jelinek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 10, 2011

Hi, im writing a custom seraph authenticator and im stuck on how im going to deploy it to jira, should it be in plugin format? I searched for whole day for answer, but haven t found anything... I tried to simply put my-authenticator.jar in WEB-INF/lib and configure auth class in seraph-config.xml, but the jar probably wasn t loaded (seraph throws ConfigurationException : ClassNotFoundException). So where should I put the custom authenticator jar file? Is there something that I should configure to get it working apart from <authenticator class="xx.xxx.MyAuthenticator"/> in seraph-config.xml? Does it have to be a plugin or something else?

Thanks for the answer...

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Abdul Sattar March 11, 2013

Hi Joseph,

Were you able to manage working Seraph authenticator? I have an old 5 years back version of Seraph custom authenticator working for 2.7.4. I am trying to upgrade it. I am getting errors for non supported classes

import bucket.container.ContainerManager;

Deprecation of EventManager, addUser, setEmail setFullName, etc

Is com.atlassian.spring.container.ContainerManager replacement for bucket.container.ContainerManager?

does custom authenticator class still needs to be extend ConfluenceGroupJoiningAuthenticator?

Would you be able to send a sample workable authenticator?

thanks,

Abdul.

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2011

A jar file in the lib directory should be fine. Although it could go in a plugins1 plugin, but probably not an OSGi plugin (I've never tried it).

If you're getting a CNF exception check the basic things... you have specified the FQ class name correctly, and "jar tf" shows that class in the correct directory etc.

TAGS
AUG Leaders

Atlassian Community Events