This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch 3.1.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 3572d01e9ee310e4896077f341be8b4386075712 Author: Colm O hEigeartaigh <[email protected]> AuthorDate: Fri Oct 20 17:56:48 2017 +0100 Adding spring properties example for WS-Security # Conflicts: # systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml --- .../src/test/resources/org/apache/cxf/systest/ws/x509/client.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml index 94dc7cd..6a05fee 100644 --- a/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml +++ b/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml @@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License. --> -<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:http="http://cxf.apache.org/transports/http/configuration" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:cxf="http://cxf.apache.org/core" xmlns:p="http://cxf.apache.org/policy" xmlns:sec="http://cxf.apache.org/configuration/security" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-b [...] +<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xmlns:http="http://cxf.apache.org/transports/http/configuration" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:cxf="http://cxf.apache.org/core" xmlns:p="http://cxf.apache.org/policy" xmlns:sec="http://cxf.apache.org/configuration/security" xsi:schemaLocation=" http://www.springframework.org/schema/beans [...] <cxf:bus> <cxf:features> <p:policies/> @@ -107,9 +107,10 @@ <entry key="security.encryption.username" value="bob"/> </jaxws:properties> </jaxws:client> + <util:properties id="cryptoProperties" location="classpath:bob.properties"/> <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetric256Port" createdFromAPI="true"> <jaxws:properties> - <entry key="security.encryption.properties" value="bob.properties"/> + <entry key="security.encryption.properties" value-ref="cryptoProperties"/> <entry key="security.encryption.username" value="bob"/> <entry key="ws-security.symmetric.signature.algorithm" value="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/> </jaxws:properties> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
