ClassCastException when using WSS actions in interceptors for CXF binding 
components
------------------------------------------------------------------------------------

                 Key: SMX4-459
                 URL: https://issues.apache.org/activemq/browse/SMX4-459
             Project: ServiceMix 4
          Issue Type: Bug
            Reporter: brad
            Priority: Critical
         Attachments: usernameToken.zip

I've created a simple JBI service assembly where the CXF binding component has 
a WSS4JInInterceptor configured, which specifies the "UsernameToken" action.

The service assembly works well in 3.3.1 - all I need to do is add 
"admin=password", for example, to the users-passwords.properties and the 
component is functional.

In 4.1.0 I've first had to overcome the classpath issue I've raised in 
SMX4-457, after which the component can be successfully deployed. However, when 
I try to send a request to the service I see the following exception:

*java.lang.ClassCastException: 
org.apache.ws.security.processor.UsernameTokenProcessor cannot be cast to 
org.apache.ws.security.processor.Processor*

Since my classpath.xml is quite specific, I don't understand the reason for 
this problem or a way to get around it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to