cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross M. Lodge (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3452) WS-Security Encrypted headers fail with JAX-WS Binding
Date Mon, 11 Apr 2011 19:14:05 GMT

     [ https://issues.apache.org/jira/browse/CXF-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ross M. Lodge updated CXF-3452:
-------------------------------

    Comment: was deleted

(was: Attached a zip file containing a maven project that exhibits this problem.  If you unzip,
CD into the WSSecurityTutorialParent module, and execute "mvn clean install -Pintegration-test"
you should get two failed tests:


  basicTest(com.example.tutorial.ws.integration.TutorialWebServiceTest): Source cannot be
null.
  systemUnavailableTest(com.example.tutorial.ws.integration.TutorialWebServiceTest): 
Expected exception com.example.tutotial.SystemUnavailableFault but got com.example.tutotial.RequiredHeaderMissingFault:
Source cannot be null.

These should _not_ fail, as the header should be correctly passed.)

> WS-Security Encrypted headers fail with JAX-WS Binding
> ------------------------------------------------------
>
>                 Key: CXF-3452
>                 URL: https://issues.apache.org/jira/browse/CXF-3452
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.3.1, 2.3.3
>         Environment: Java 6
>            Reporter: Ross M. Lodge
>         Attachments: EncryptedHeaderBug.zip
>
>
> When building a SOAP web service using CXF, JAX-WS, and the CXF extensions for WS-Security
and WS-SecurityPolicy, SOAP headers that are encrypted are correctly decrypted, but are not
correctly passed to the endpoint.
> This happens because, as far as I can tell, org.apache.cxf.binding.soap.interceptor.SoapHeaderInterceptor
correctly searches for headers in the headers list of the Message parameter to handleMessage,
but doesn't find it because the encrypted headers didn't really exist in their final form
in the actual message.
> I've seen this on 2.3.1 and 2.3.3; no reason to suspect that 2.3.2 also has it but I
haven't tested.  Running Java 1.6.0_24 on OS X, although I don't think the OS or java version
has anything to do with it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message