powered by Jive Software

Custom Authentication in Openfire

Hi,
I am trying to make a jar file for the Authentication in Openfire. The problem is this custom class has dependencies like “org.jivesoftware.openfire.auth.AuthProvider”, which is dependent on the openfire. So, I am not able to compile the class and make a jar file. Please let me know the process or is there anything I am doing wrong ?

Thanks in advance.

You need to make the XMPP server part of Openfire one of your provided dependencies. Exactly how you do that depends on your build tool (Gradle, Maven, etc) but instructions for various build tools are at https://mvnrepository.com/artifact/org.igniterealtime.openfire/xmppserver/4.2.0

Greg

Thanks, It’s working now

Nidhi