Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gyrex-dev] jetty bundles ?

Am 29.11.2012 23:10, schrieb Cristiano Gavião:
we use Apache Shiro and it depends on this bundle. I include this
dependency in my p2 deps...

So if you do not actually use JSP then just including it should be fine. But shouldn't the dependency be optional then?

it is another thing that I would like to ask you. where do you suggest I
could setup a filter for Shiro ?

What's the application that you'd like to protect? Is it a web application with HTML, JavaScript & co or do you plan to use just the JAX-RS application?

If it's the former you can register filters within the applications doInit method using getApplicationContext.registerFilter.

The Equinox HttpService also provides such a method. The JAX-RS application needs to be enhanced to allow registering custom filters.

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/


Back to the top