[ https://issues.apache.org/jira/browse/CXF-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770663#comment-13770663 ]
Colm O hEigeartaigh commented on CXF-5269: ------------------------------------------ Can this issue be resolved? Colm. > the ws-security.encryption.username property not been taken into account when > using XKMS service on CXF client > -------------------------------------------------------------------------------------------------------------- > > Key: CXF-5269 > URL: https://issues.apache.org/jira/browse/CXF-5269 > Project: CXF > Issue Type: Bug > Components: XKMS > Affects Versions: 2.7.7 > Environment: Win 7, Java 7 > Reporter: Xilai Dai > > the properties configured with spring for CXF client looks like: > <jaxws:properties> > <entry key="ws-security.signature.crypto" value-ref="xkmsCryptoProvider" > /> > <entry key="ws-security.signature.username" value="myclientkey" /> > <entry key="ws-security.encryption.crypto" value-ref="xkmsCryptoProvider" > /> > <entry key="ws-security.encryption.username" value="abc"/> > ...... > </jaxws:properties> > no mattar what value set on the ws-security.encryption.username property, e.g. > 1) DN name: CN=www.service.com, OU=IT Department, O=Sample Web Service > Provider, L=Buffalo, ST=New York, C=US > 2) serviceQName: "{http://services.abc.com/MyService}ABCService" > 3) any string > 4) even remove this property. > No any exception thrown and the invocation to the service will be successful. > the expected behavior is the exception will be thrown when this property not > set or its value is not correct. -- 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