HttpServlet from Plugin

Hey Folks.

Curious if it is possible to use a Plugin as a HttpServlet (extend) and specify a specific port and location for it? I want to be able to communicate with my plugin via its own REST interface…

Maybe there is some other way - that someone knows about?



Ok, I don’t need to change the port, and have seen the PluginServlet. Is this the direction I should be heading?

Ok. I’m getting smarter. ; }

If I try to access the url to my plugin’s jsp I get prompted for the Admin password. How do I get around that?