cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: How to set value "auth.spnego.requireCredDelegation"?
Date Tue, 17 Jun 2014 20:33:06 GMT
Hi
On 17/06/14 21:18, rareddy wrote:
> Hi,
>
> I trying to write a program that does Spnego/kerberoes delegation to jax-rs
> web service. I am following the document
>
> http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-CredentialDelegation
>
> It asks me to set property "auth.spnego.requireCredDelegation" to "true". I
> am not sure where I need to set this property? in spring confile under
> http-conduit? or progrmatically? Can someone please suggest a solution?
>
Sorry, it is set as a contextual property,
example,
WebClient wc = ...
WebClient.getConfig(wc).getRequestContext().put("auth.spnego.requireCredDelegation", 
true);

Cheers, Sergey

> Thanks
>
> Ramesh..
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/How-to-set-value-auth-spnego-requireCredDelegation-tp5745293.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>


Mime
View raw message