Hi Yes, every endpoint needs to reference the 'authorizationFilter'; scanning the classpath for providers is not currently supported, this would well in cases when all the endpoints share the same set of custom providers,
cheers, Sergey On Wed, May 5, 2010 at 8:44 PM, rangeli nepal <[email protected]>wrote: > Hello everybody, > > As I understand the configuration file. customized filter which is provided > as > > <jaxrs:providers> > <ref bean="authorizationFilter" /> > </jaxrs:providers> > > So If I provide a service called myservice I will have configuration > something like this: > > <jaxrs:server id="myService" address="/"> > <jaxrs:serviceBeans> > <ref bean="serviceImpl" /> > </jaxrs:serviceBeans> > > <jaxrs:providers> > <ref bean="authorizationFilter" /> > </jaxrs:providers> > > > <jaxrs:extensionMappings> > <entry key="xml" value="application/xml" /> > </jaxrs:extensionMappings> > > Now suppose I have many services, do I have to include provider ( in this > case "authorizationFilter") with each service or I can put somewhere > common? > > I will appreciate your answer > > Thank you. > Santos >
