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...
Community moderators have prevented the ability to post new answers.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.