you mean use interceptors not request handler or filter? Sergey Beryozkin <[email protected]> 于 2014年4月1日, 星期二, 1:02 上午 写道: Hi
You can register them with CXFNonSpringJaxrsServlet, listing their class names or instantiating them directly inside a custom Application class, please check this example: https://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesincontainerwithoutSpring If you work with CXF 2.7.x or 3.x - use JAX-RS 2.0 ContainerRequestFilter instead HTH, Sergey On 31/03/14 14:29, Kevin Cai wrote: > Sorry, I mean how to config CXF Jax-rs to use RequestHandler (Filter) to > implement Basic Authentication without Spring. Thanks > > > Kevin Cai <[email protected]> 于 2014年3月31日, 星期一, 9:26 下午 写道: > > Dear all, > > Seems that all config docs of CXF are all about config cxf with Spring. I > would like to know how to config CXF Jax-rs to use RequestHandler (Filter) to > implement Basic Authentication. Thanks. > > > Yours, > Kevin Choi >
