2 Replies Latest reply on Feb 22, 2011 4:54 AM by larasith

    WSS4J x.509 security

    larasith

      Hi, i'm try to use org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor to secure my endpoints. My configuration is the following:

       

       

       

      My problem is that the WSS4JInInterceptor never activate it. I can to invoke my webservice without stablish a secure connection.

       

      Can help me anyone?

        • 1. Re: WSS4J x.509 security
          njiang

          Hi,

           

          You are using the MESSAGE DataFormat which means the camel-cxf endpoint will not touch the under layer input stream, so the WSS4JInInterceptor will never be called.

           

          You can try to use PAYLOAD or POJO DataFormat, which will trigger the WSS4JInInterceptor.

           

          Willem

          • 2. Re: WSS4J x.509 security
            larasith

            Thanks njiang, i'm going to try to use other data message.