powered by Jive Software

Access plugin servlets anonymously

I’'m working on a plugin that has a servlet. I want it to be accessible by anyone, not just admins. How do I configure my web-custom.xml to reflect this?

Thanks,

Noah

Hi Noah,

I don’'t know how (or if) you can make that sort of configuration in your web/web-custom.xml file but you can do it the init() method of your servlet by doing this:

AuthCheckFilter.addExclude(“myplugin”);

/code

And you’'d also want to have a matching removeExlude(); call in the destroy method.

Hope that helps,

Ryan