powered by Jive Software

Exception thrown when implementing custom authentication

Hello,

I tried to implement and deploy a new authentication provider and get the following exception:

java.lang.UnsupportedClassVersionError: test/CustomAuthProvider:

Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

I added :

test.CustomAuthProvider

to the openfire.xml in the conf directory.

I created an auth.jar containing the compiled class and put it in the openfire lib directory.

After I start Openfire, I get the exception.

What am I doing wrong?

Many thanks.