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.