[infinispan-dev] Securing access to Infinispan REST server

Jeff Ramsdale jeff.ramsdale at gmail.com
Tue Jul 6 17:08:30 EDT 2010


So, does the servlet-based nature preclude embedding the REST server
unless Jetty (for instance) is also embedded?

-jeff

On Tue, Jul 6, 2010 at 10:34 AM, Manik Surtani <manik at jboss.org> wrote:
>
> On 6 Jul 2010, at 18:24, Jeff Ramsdale wrote:
>
>> Possibly. It's been a little while since I looked through the
>> Infinispan code, so I'm uncertain of the architecture. Is the REST
>> server built on a toolkit?
>
> Yes, RESTEasy.
>
>> Is it servlet based?
>
> Yep.
>
>> My primary REST
>> experience is with Restlet, which provides its own embeddable server
>> but can alternatively be dropped into a servlet container.
>
> It's essentially a class annotated with RESTEasy annotations which proxies invocations from RESTEasy's servlet.  Ignore the fact that it is written in Scala, that bit is inconsequential to how you'd use it, etc.
>
>        http://fisheye.jboss.org/browse/Infinispan/trunk/server/rest/src/main/scala/org/infinispan/rest/Server.scala?r=1951
>        http://fisheye.jboss.org/browse/Infinispan/trunk/server/rest/src/main/webapp/WEB-INF/web.xml?r=1951
>
> Cheers
> Manik
>
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>



More information about the infinispan-dev mailing list