Unable to get operation name in WSS4JInInterceptor
posted 2 years ago
I am trying to implement WS-Security by overriding WSS4JInInterceptor and get the username, password and the operation as consumer will be given access by operation. The services had no security earlier, so we want to make it optional till all the consumers are migrated. I am using Spring and CXF 2.3.4.
1. I am not able to read the operation name, from the SoapMessage in handleMessage(). I think the only way I have is to parse the InputStream. Is this the right way?
2. Is there a better way to achieve my use case .