Just FYI, when working with proxies you can do :
if (response == null) {
Client client = WebClient.client(proxy);
if (client.getResponse().getStatus() == 302) {
String location =
client.getResponse().getMetadata().getFirst("Location").toString();
// create new proxy/webclient, etc
}
}
On Thu, Dec 2, 2010 at 6:07 PM, mschipperheyn <[email protected]>wrote:
>
> I'm using Spring 3.0.5 and Spring security 3.0.5.
>
> Ok, I see that I get a status of 302 back, because I'm being redirected to
> the login page by Spring Security. However, I did provide the correct
> user/pass on the JAXRSClientFactory. So, it's most likely Spring Security
> that's not getting the user/pass injected properly. I'll investigate some
> more there.
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/jaxrs-proxy-always-returns-null-tp3289652p3289765.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>