Re: How to use JUnit to test CXF JAX-RS methods protected by Spring-Security

2013-10-14 Thread Sergey Beryozkin
Hi On 14/10/13 13:17, Winnebeck, Jason wrote: On 14/10/2013 01:17, Jim Talbut wrote: I /think/ this is breaking because the proxy for the PreAuth is meaning that the @Context annotation isn't being detected by CXF. Can that be fixed? I don't have experience CXF + Spring Security directly, but

RE: How to use JUnit to test CXF JAX-RS methods protected by Spring-Security

2013-10-14 Thread Winnebeck, Jason
On 14/10/2013 01:17, Jim Talbut wrote: > I /think/ this is breaking because the proxy for the PreAuth is meaning that > the @Context annotation isn't being detected by CXF. > Can that be fixed? I don't have experience CXF + Spring Security directly, but I am using Spring and it had to create a p

Re: How to use JUnit to test CXF JAX-RS methods protected by Spring-Security

2013-10-13 Thread Jim Talbut
On 12/10/2013 17:29, Jim Talbut wrote: Hi, I want to use Spring-Security to protect a bunch of JAX-RS endpoints in a couple of different (independent) applications. One of the applications will start off using basic auth and will probably never progress beyond that, so I could use CXF intercep

How to use JUnit to test CXF JAX-RS methods protected by Spring-Security

2013-10-12 Thread Jim Talbut
Hi, I want to use Spring-Security to protect a bunch of JAX-RS endpoints in a couple of different (independent) applications. One of the applications will start off using basic auth and will probably never progress beyond that, so I could use CXF interceptors to handle the auth. The other appl