I don't quite follow. Could you paste your entire spring config please?

Colm.


On Thu, Apr 24, 2014 at 7:08 PM, Giriraj Bhojak <[email protected]> wrote:

> Hello,
>
> I am running into a problem if I extend the
> org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor via spring beans.
>
> I have a bean definition defined as(haven't shown complete <bean>
> definition) :
> <bean class="org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor"
>         id="interceptor" >
>         <constructor-arg>
>             <map>
>                 <entry key="action" value="Encrypt" />
> .............................................................
>
> I need to extend WSS4JOutInterceptor to provide some customized behavior
> for crypto properties.
> But when I do that and use the new class in the above bean definition, I
> get following:
>
> java.lang.IllegalStateException: Cannot convert value of type
> [NewOutInterceptor] to required type
> [org.apache.cxf.interceptor.Interceptor] for property 'outInterceptors[0]':
> no matching editors or conversion strategy found.
>
> I am on version 2.7.8 of cxf-rt-ws-security-2.7.8.
> Could anyone please help me with it?
>
> Thanks,
> Giriraj.
>



-- 
Colm O hEigeartaigh

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

Reply via email to