There is no problem with using the interceptor approach here. I think you
are referring to different ways of using WS-Security, one via an "Action"
approach where you configure the interceptors with what to do, and one via
WS-SecurityPolicy which uses the policy to set up configuration.

Colm.


On Wed, Mar 19, 2014 at 9:35 AM, Alexander Savinov <[email protected]
> wrote:

> Thanks for answer and i do have another question concerning this.
>
> So my Service WSDL do have a policy within for the IssuedToken. My ATS
> WSDL also have a policy
>  for that.
>
> I would like to use the alternative with using the IssuedToken policy from
> service and getting the SAML Token from ATS with interceptors. But as far
> as i am right from reading the Documentation, i can't use WS-Security
> approach and Interceptor approach together. So how do i use the Interceptor
> approach here?
>
> I used getInInterceptors and getOutInterceptors to check whether there any
> Interceptors for my Client and the Lists are empty. Will CXF use my own
> interceptor if i add it to the outgoingInterceptors?
>
> best regards
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to