Make plugins public

Is there any way to make plugins public? I have to keep logging in as admin to use them:

http://server.org:9090/plugins/presence

is there any way to make it public so other apps can use it?

thanks,

Alistair

Hi,

to use the presence or search plugin you don’'t need to be an admin. And the other plugins are usually for administrators. I hope that helps or could you explain why other apps should access the admin console or plugins?

LG

to use the presence plugin you have to use:

http://server.org:9090/plugin

but 9090 is the admin console so you have to login to use the plugin. Is there a better way to access a plugin via a url?

I would like to let our VLE (virtual learning environment) access the presence plugin directly to find out which users who are online in the VLE are also online in chat.

thanks,

Alistair

Hi,

did you read http://www.jivesoftware.org/wildfire/plugins/presence/readme.html ?

You don’'t need to login to get http://example.com:9090/plugins/presence/status?jid=jsmith@example.com9090/plugins/presence/status?jid=jsmith@example.com

But /session-summary.jsp may be a much better place to list online users, but one needs to login there.

LG

Yes, I read the docs with the plugin but 9090 requires login! I don’'t know how to stop it asking for login when using the presence plugin

Alistair

Hi,

you may want to check http://jivesoftware.com:9090/plugins/presence/status?jid=LG@jivesoftware.com9090/plugins/presence/status?jid=LG@jivesoftware.com and tell me whether you need a login or not to see a status image. I wonder if something very unusual is going on with your presence plugin.

LG

Nope, don’‘t have to login to that plugin! So I’'ll just have to root aboot in my setup and see why it keeps making me login to get to 9090:/plugins

Alistair

Alistair,

The presence plugin is specifically setup to not require authentication. It does this with the call:

// Exclude this servlet from requering the user to login

AuthCheckFilter.addExclude(“presence/status”);

Regards,

Matt

Yes, the code does have that and when I pasted in it2000’'s URL and changed the server and jid it worked! I must have been doing something wrong with the url.

many thanks for you help folks,

Alistair