Pat Wong created CXF-4759:
-----------------------------

             Summary: No security headers created for policy with no Binding 
assertion
                 Key: CXF-4759
                 URL: https://issues.apache.org/jira/browse/CXF-4759
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.7.0
            Reporter: Pat Wong


For instance if a SOAP service has a policy with a supporting token of 
UsernameToken without a TransportBinding, SymmetricBinding or AsymmetricBinding 
then CXF will not send any security header.

In PolicyBasedWSS4JOutInterceptorInternal.handleMessage, there is an attempt to 
create a dummy TransportBinding, when the policy itself had not specified a 
binding. However, without a TransportToken, the TransportBindingHandler will 
ignore any supporting tokens.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to