Access API provided by plugin

Hi

I am new … however, I want to write a plugin

I would like to have my third party server be able to send an message to the openfire plugin. So I have simply put an HTTP interface inside my plugin as suggested some where in the threads.

When I try access, it looks the security module is redirecting to login.jsp for authentication.

http://localhost:9095/plugins/myplugin/myapi?message=blah

How do I access my plugin api with a proper user/password.

Thanks

Raj

Hello,

You’ll need to call the AuthCheckFilter.addExclude method to bypass the login procedure. Take a look at the Registration plugin for a code sample.

Hope that helps,

Ryan