Hi guys, Is it possible to plug javax.servlet.Filter somehow with CXF?
I am tryng to understand digest authentication. Seen that spring security DigestAuthenticationFilter is very clean written my ideas was to plug it to CXF (it's already a filter!! :P) So i tried: <jaxrs:server id="customerService" address="http://localhost:9095/rest"> <jaxrs:serviceBeans> <bean class="com.blacar.apps.spike.jaxrs.CustomerService" /> </jaxrs:serviceBeans> <jaxrs:providers> <ref bean="digestFilter" /> </jaxrs:providers> </jaxrs:server> <bean id="digestFilter" class="org.springframework.security.web.authentication.www.DigestAuthenticationFilter"> <property name="userDetailsService" ref="inMemoryUserDetailsService" /> <property name="authenticationEntryPoint" ref="digestEntryPoint" /> </bean> ... and, of course it didn't works since this is a javax.servlet.Filter with doFilter method instead of a request/response hander JAX-RS Filter. Might be possible this approach? ... to plug javax.servlet.Filter in some way in the interception/filtering chain of the CXF stack? Thanks in advance!! RBC -- View this message in context: http://cxf.547215.n5.nabble.com/Can-i-plug-javax-servlet-Filter-with-CXF-authentication-tp5740614.html Sent from the cxf-user mailing list archive at Nabble.com.
